When a key combination is displayed, the modifiers are written in the order presented here. For example, Control + Option + Shift + Command + Q would be written as ⌃⌥⇧⌘Q.
Sym | Key | Alt |
---|---|---|
⌃ | Control | |
⌥ | Option |
{ | |
"compilerOptions": { | |
// project options | |
"lib": [ | |
"ESNext", | |
"dom" | |
], // specifies which default set of type definitions to use ("DOM", "ES6", etc) | |
"outDir": "lib", // .js (as well as .d.ts, .js.map, etc.) files will be emitted into this directory., | |
"removeComments": true, // Strips all comments from TypeScript files when converting into JavaScript- you rarely read compiled code so this saves space | |
"target": "ES6", // Target environment. Most modern browsers support ES6, but you may want to set it to newer or older. (defaults to ES3) |
from sklearn.pipeline import Pipeline | |
from sklearn.svm import LinearSVC | |
from sklearn.model_selection import GridSearchCV | |
from sklearn.preprocessing import StandardScaler | |
SVCpipe = Pipeline([('scale', StandardScaler()), | |
('SVC',LinearSVC())]) | |
# Gridsearch to determine the value of C | |
param_grid = {'SVC__C':np.arange(0.01,100,10)} |
# Neofetch config file | |
# https://github.com/dylanaraps/neofetch | |
# Speed up script by not using unicode | |
export LC_ALL=C | |
export LANG=C | |
myprin() { | |
if [ "$2" ]; then | |
get_$2 &>/dev/null |
'use strict'; | |
var gulp = require('gulp'), | |
sass = require('gulp-sass'), | |
autoprefixer = require('gulp-autoprefixer'), | |
imagemin = require('gulp-imagemin'), | |
concat = require('gulp-concat'), | |
uglify = require('gulp-uglify'), | |
watch = require('gulp-watch'), | |
sourcemaps = require('gulp-sourcemaps'), |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.
class Program | |
{ | |
public static void Main(string[] args) | |
{ | |
Console.WriteLine("What's your name?"); | |
var name = Console.ReadLine(); | |
Console.WriteLine(string.Format("Hello {0}!!", name)); | |
} | |
[Test] |