text
stringlengths
0
14.1k
Schema::table('eugenetolok_telegram_dialogs_steps', function($table)
{
$table->dropColumn('id');
});
}
}
" mit
gnetsys/OnsenUIv2-React-PhoneGap-Starter-Kit www/components/InfiniteScroll.js 854 "import React from 'react';
import ons from 'onsenui';
import {
Page,
Toolbar,
BackButton,
LazyList,
ListItem
} from 'react-onsenui';
class InfiniteScroll extends React.Component {
renderRow(index) {
return (
<ListItem key={index}>
{'Item ' + (index + 1)}
</ListItem>
);
}
renderToolbar() {
return (
<Toolbar>
<div className='left'>
<BackButton>Back</BackButton>
</div>
<div className='center'>
Infinite scroll
</div>
</Toolbar>
);
}
render() {
return (
<Page renderToolbar={this.renderToolbar}>
<LazyList
length={10000}
renderRow={this.renderRow}
calculateItemHeight={() => ons.platform.isAndroid() ? 77 : 45}
/>
</Page>
);
}
}
module.exports = InfiniteScroll;
" mit
svartblomma/docker_runner README.md 907 "# docker_runner
Run docker containers on the fly with ansible roles
# running program
Must be run with sudo privlegies
example
""sudo ruby drun.rb""
The program launches a docker container that self-provisions based on the ROLE
The ROLE value in the ruby file is the Ansible role, which will be run on the container
The docker container shares a common directory with all other docker containers, the host and a private host folder
The common directory should contain the ansible code used to self-provision the docker container
The host directory will be the same as the container name, which is randomly generated
# things to do
Have Ruby code ask for the role to be run
Enable multiple roles to be run on a single container
Create a UI for deployment
Enable easy creation of custom docker containers (templates of roles to run)
* example: a go container with vim, zsh etc
* one click deploy from a UI
" mit
selvasingh/azure-sdk-for-java sdk/datafactory/mgmt-v2018_06_01/src/main/java/com/microsoft/azure/management/datafactory/v2018_06_01/GoogleCloudStorageLocation.java 2402 "/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.datafactory.v2018_06_01;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import com.fasterxml.jackson.annotation.JsonTypeName;
/**
* The location of Google Cloud Storage dataset.
*/
@JsonTypeInfo(use = JsonTypeInfo.Id.NAME, include = JsonTypeInfo.As.PROPERTY, property = ""type"", defaultImpl = GoogleCloudStorageLocation.class)
@JsonTypeName(""GoogleCloudStorageLocation"")
public class GoogleCloudStorageLocation extends DatasetLocation {
/**