Thank you everybody, Your comments makes it better
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
import { createConnection, getConnection, Entity, getRepository } from "typeorm"; | |
import { PrimaryGeneratedColumn, Column } from "typeorm"; | |
@Entity() | |
export class MyEntity { | |
@PrimaryGeneratedColumn() | |
id?: number; | |
@Column() | |
name?: string; |
class LocationManagerImpl @Inject constructor( | |
private val permissionManager: PermissionManager, | |
private val context: Context | |
) : LocationManager { | |
override fun getUserLocationUpdates(): Observable<UserLocation> = | |
if (checkIfGooglePlayAvailable()) getLocationFromGooglePlay() else getLocationFromAndroidSdk() | |
override fun getDefaultLocation(): UserLocation = UserLocation(DEFAULT_LATITUDE, DEFAULT_LONGITUDE) |
// Not quite there yet, but better than nothing | |
// TODO: JSDoc, based on website documentation | |
// TODO: Interface/class types for each of these ML algorithm instances | |
// TODO: Break this apart into multiple files for readability | |
// TODO: Test autocomplete in a vanilla JS project | |
// TODO: Test autocomplete in a TypeScript project | |
import { MediaElement } from "p5"; | |
export as namespace ml5; |
Thank you everybody, Your comments makes it better
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
// Implementation in ES6 | |
function pagination(c, m) { | |
var current = c, | |
last = m, | |
delta = 2, | |
left = current - delta, | |
right = current + delta + 1, | |
range = [], | |
rangeWithDots = [], | |
l; |
apt-get install python-pip
pip install shadowsocks
sudo ssserver -p 443 -k password -m aes-256-cfb --user nobody -d start
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^index\.html$ - [L] | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteCond %{REQUEST_FILENAME} !-l | |
RewriteRule . /index.html [L] |
border: no | |
license: MIT |
export default class Delivery extends Component { | |
state = { | |
streetName: undefined, | |
postcode: undefined, | |
city: undefined | |
}; | |
constructor(props) { | |
super(props); |
.container-fixed { | |
bottom: 0; | |
position: fixed; | |
left: 0; | |
right: 0; | |
top: 0; | |
} | |
.container-fixed .col { | |
height: 100%; |