A complete gdb to lldb command map.
- Print object
(lldb) po responseObject
(lldb) po [responseObject objectForKey@"state"]
- p - Print primitive type
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# Packages # |
var watch = require("gulp-watch"); | |
var plumber = require("gulp-plumber"); | |
var tap = require("gulp-tap"); | |
var browserify = require("browserify"); | |
var gulpif = require("gulp-if"); | |
var streamify = require("gulp-streamify"); | |
var gutil = require('gulp-util'); | |
var isDebug = false; |
A complete gdb to lldb command map.
(lldb) po responseObject
(lldb) po [responseObject objectForKey@"state"]
{ | |
// The command to execute for the terminal, leave blank for the OS default | |
// On OS X the terminal can be set to iTerm.sh to execute iTerm | |
"terminal": "C:\\Tools\\cmder\\Cmder.exe", | |
// A list of default parameters to pass to the terminal, this can be | |
// overridden by passing the "parameters" key with a list value to the args | |
// dict when calling the "open_terminal" or "open_terminal_project_folder" | |
// commands | |
"parameters": ["/START", "%CWD%"] |
Please petition Github to support HTTPS on github pages: https://github.com/contact
Here's what I wrote:
Obviously, a lot of people want HTTPS for github pages:
Until recently, that would be difficult to implement but, as it turns out, the implementation is pretty much complete:
""" | |
Minimal character-level Vanilla RNN model. Written by Andrej Karpathy (@karpathy) | |
BSD License | |
""" | |
import numpy as np | |
# data I/O | |
data = open('input.txt', 'r').read() # should be simple plain text file | |
chars = list(set(data)) | |
data_size, vocab_size = len(data), len(chars) |
var month= ["January","February","March","April","May","June","July", | |
"August","September","October","November","December"]; | |
var month = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul","Aug", "Sep", "Oct", "Nov", "Dec"]; | |
//used with date.getMonth() |
/** | |
* Simple snippet to lazy auto fill the short, but boring feedback forms at: | |
* http://nsitfeedbacksystem.elasticbeanstalk.com/ | |
* | |
* Usage: Define this function for the page/window you want to run it on. Call it with valid params. | |
* You can run it on the browser/client JS engine. This does not submit the form. So you can review changes. | |
* | |
* Warning: The function must be defined for each page/reload because the current window changes. | |
* | |
* Edit: Looks like jQuery works. So I've made it shorter! |
{ "keys": ["ctrl+alt+p"], "command": "prompt_select_workspace" } |
// https://web.archive.org/web/20141119215047/http://jsperf.com/javascript-quicksort-comparisons | |
// based on work from Vladimir Yaroslavskiy: https://web.archive.org/web/20151002230717/http://iaroslavski.narod.ru/quicksort/DualPivotQuicksort.pdf | |
var dualPivotQuicksort = (function (Math, toString, undefined) { | |
'use strict'; | |
function swap(arr, i, j) { | |
var temp = arr[i]; | |
arr[i] = arr[j]; | |
arr[j] = temp; | |
} | |
function dualPivotQuicksort(arr, comp, left, right, div) { |