https://gyazo.com/eb5c5741b6a9a16c692170a41a49c858.png

#!/bin/sh | |
# Create a RAM disk with same perms as mountpoint | |
# Script based on http://itux.idev.pro/2012/04/iservice-speed-up-your-xcode-%D0%BD%D0%B5%D0%BA%D0%BE%D1%82%D0%BE%D1%80%D1%8B%D0%B5-%D1%81%D0%BF%D0%BE%D1%81%D0%BE%D0%B1%D1%8B/ with some additions | |
# Usage: sudo ./xcode_ramdisk.sh start | |
USERNAME=$(logname) | |
TMP_DIR="/private/tmp" | |
RUN_DIR="/var/run" |
#!/usr/bin/perl | |
# Looks at the output of ps to determine how many pppd children are running, | |
# each of which corresponds to an active connection. Assumes use of pppd | |
# as the authenticating agent for the vpn. | |
my $cmd = 'ps auxwww'; | |
open (my $in, "$cmd |") or die "Couldn't execute command '$cmd'"; |
#/usr/bin/env bash | |
# MIT © Sindre Sorhus - sindresorhus.com | |
# git hook to run a command after `git pull` if a specified file was changed | |
# Run `chmod +x post-merge` to make it executable then put it into `.git/hooks/`. | |
changed_files="$(git diff-tree -r --name-only --no-commit-id ORIG_HEAD HEAD)" | |
check_run() { | |
echo "$changed_files" | grep --quiet "$1" && eval "$2" |
var mongoose = require('mongoose'); | |
var hitSchema = mongoose.Schema({ | |
text: String, | |
music: String | |
}); | |
hitSchema.statics.bulkInsert = function(models, fn) { | |
if (!models || !models.length) | |
return fn(null); |
../eyyxo.torrent: | |
Name: Hacked Team | |
Size: 415768052618 (387G) | |
Announce: udp://coppersurfer.tk:6969/announce | |
Files: | |
Amministrazione/01 - CLIENTI/1 - Commesse/1 - Commesse 2011/Commessa001.2011 Royal.xls 59392 (58K) | |
Amministrazione/01 - CLIENTI/1 - Commesse/1 - Commesse 2011/Commessa002.2011 Royal.xls 59392 (58K) | |
Amministrazione/01 - CLIENTI/1 - Commesse/1 - Commesse 2011/Commessa003.2011 Royal.xls |
testset = [ | |
[1, 4], | |
[2, 8], | |
[3, 12], | |
[4, 16] | |
] | |
theta0 = 0 | |
theta1 = 0 | |
learningrate = 0.01 |
description "Starts a SimpleHTTPServer to host 1 Password Anywhere" | |
author "Ivan De Marino <[email protected]>" | |
version "1.0.0" | |
# When to start/stop | |
start on runlevel [2345] | |
stop on runlevel [016] | |
# Keep it running | |
respawn |
const arr1 = [1,2,3] | |
const arr2 = [4,5,6] | |
const arr3 = [...arr1, ...arr2] //arr3 ==> [1,2,3,4,5,6] |
When contributing to this repository, please first discuss the change you wish to make via issue, email, or any other method with the owners of this repository before making a change.
Please note we have a code of conduct, please follow it in all your interactions with the project.