This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[/script/shootergame.shootergamemode] | |
GlobalSpoilingTimeMultiplier=5 | |
GlobalItemDecompositionTimeMultiplier=3 | |
GlobalCorpseDecompositionTimeMultiplier=3 | |
MatingIntervalMultiplier=0.1 | |
EggHatchSpeedMultiplier=16.0 | |
BabyMatureSpeedMultiplier=16.0 | |
BabyCuddleIntervalMultiplier=0.1 | |
bPassiveDefensesDamageRiderlessDinos=true | |
PerLevelStatsMultiplier_DinoTamed_Add[0]=0.50 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var exec = require('child_process').exec; | |
var argv = require('minimist')(process.argv.slice(2)); | |
var stringify = require('csv-stringify'); | |
var fs = require('fs'); | |
function takeMesure(callback){ | |
exec('iwconfig wlan0', function(err, stdout, stderr){ | |
//console.log(stdout); | |
var essid = /ESSID:"(.+)"/.exec(stdout), | |
power = /Bit Rate=([0-9]+) +Mb\/s +Tx\-Power=([0-9]+) dBm/.exec(stdout), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://192.168.1.97:8081/|-20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Usage : dbxcligetfiles.sh "\*\.png" /Webdesign | |
# | |
dbxcli search $1 $2 | while read line | |
do | |
echo $line | |
mkdir -p ".${line%/*}" | |
dbxcli get "$line" ".$line" | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env xdg-open | |
[Desktop Entry] | |
Encoding=UTF-8 | |
Name=Robomongo | |
Comment=Launch Robomongo | |
Icon=/opt/robomongo/robomongo.png | |
Exec=/usr/sbin/robomongo | |
Terminal=false | |
Type=Application | |
Categories=Developer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
IPTABLES="$(which iptables)" | |
# RESET DEFAULT POLICIES | |
$IPTABLES -P INPUT ACCEPT | |
$IPTABLES -P FORWARD ACCEPT | |
$IPTABLES -P OUTPUT ACCEPT | |
$IPTABLES -t nat -P PREROUTING ACCEPT | |
$IPTABLES -t nat -P POSTROUTING ACCEPT | |
$IPTABLES -t nat -P OUTPUT ACCEPT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*jshint node: true*/ | |
"use strict"; | |
process.env.NODE_ENV = 'test'; | |
const assert = require('assert'); | |
const Request = require('request-promise'); | |
const HttpsAgent = require('socks5-https-client/lib/Agent'); | |
const Promise = require('bluebird'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
const loopback = require('loopback'); | |
const expect = require('chai').expect; | |
const request = require('supertest'); | |
describe('Test relations update support', function() { | |
// Create a new loopback app. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Usage : node generateWhoisConf.js > /etc/whois.conf | |
*/ | |
var json = require('comment-json'); | |
var request = require('request'); | |
request('https://github.com/weppos/whois/raw/master/data/tld.json', function(error, response, body){ | |
var obj = json.parse(body); | |
Object.keys(obj).forEach(function(key){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(() => { | |
let datas = []; | |
db.getCollectionNames().forEach(colName => { | |
let stats = db.getCollection(colName).stats(); | |
datas.push({ | |
colName, | |
size : stats.storageSize, | |
humanSize: (stats.storageSize / (1024*1024*1024)) + ' GB' | |
}); | |