cd /Library/Preferences
sudo rm com.sophos.sav.plist
cd /Library/Application\ Support/Sophos/cloud/Installer.app/Contents/MacOS/tools/
sudo ./InstallationDeployer —force_remove
This file contains hidden or 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 bash | |
set -euo pipefail | |
IFS=$'\n\t' | |
# Okay this is pretty complicated as fuk | |
# | |
# To sum it up, we're using the u32 module for iptables | |
# to read bytes from the payload. | |
# | |
# We want to verify that the payload of the TCP packet is of the TLS variety. If not, drop. |
This file contains hidden or 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 | |
# The file structure works like so: | |
# /var/www/html -> /var/www/versions/my-current-version/ (link to the current version) | |
# /var/www/packs (full of zipped up source files) | |
# /var/www/versions (unzipped source files. Compilation and asset transpilation happens here too) | |
# You upload (via scp or however) a zipped package of source | |
# code (using git archive or something) to server:/var/www/packs/date.zip | |
#!/bin/bash |
This file contains hidden or 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
alias -a di = disas | |
define stepd | |
si | |
di | |
end | |
alias -a sd = stepd |
This file contains hidden or 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
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.Linq; | |
namespace ConsoleApplication1 | |
{ | |
class Program | |
{ | |
private const int MissPenelty = 18; |
This file contains hidden or 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 s0 = 181818; // The student ID // | |
var t1 = 8; | |
var t2 = 1; | |
var t3 = 0; | |
var t4 = s0 + t1; | |
t3 = t3 - t2; | |
s0 = s0 + s0; // s0 *= 2; |
This file contains hidden or 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 | |
pecl install mongo | |
echo "extension=mongo.so" >> /etc/php5/fpm/php.ini | |
echo "extension=mongo.so" >> /etc/php5/cli/php.ini | |
service php5-fpm restart |
This file contains hidden or 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 | |
echo '-----------------------------------' | |
echo '---- Mongo 3.0 on Ubuntu 14.04 ----' | |
echo '----------- Run as Sudo -----------' | |
echo '-----------------------------------' | |
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10 | |
echo "deb http://repo.mongodb.org/apt/ubuntu "$(lsb_release -sc)"/mongodb-org/3.0 multiverse" | tee /etc/apt/sources.list.d/mongodb-org-3.0.list |
This file contains hidden or 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 querystring = require('querystring'); | |
var http = require('http'); | |
var fs = require('fs'); | |
var sleep = require('sleep'); | |
var needle = require('needle'); | |
// Replace with own data // | |
// The blah_token is a hidden field in the page. View source and search for it. It changes everytime you try to submit a request. // | |
var blah_token = ''; |
This file contains hidden or 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
/* | |
* Ignore the awful looking code. This was made at 2 AM and I'm super tired. | |
*/ | |
$podio = Podio::get_from_cache($this->user_id); | |
$app_id = 0; // Snipped // | |
function microtime_float() | |
{ |
NewerOlder