Skip to content

Instantly share code, notes, and snippets.

View FredericJacobs's full-sized avatar
🔐
Encrypt the Planet 🌍

Frederic Jacobs FredericJacobs

🔐
Encrypt the Planet 🌍
View GitHub Profile
I learned that courage was not the absence of fear, but the triumph over it. The brave man is not he who does not feel afraid, but he who conquers that fear.
Nelson Mandela
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleName</key>
<string>Pond</string>
<key>CFBundleIdentifier</key>
<string>org.imperialviolet.pond</string>
<key>CFBundleVersion</key>
<string>0.1</string>
@FredericJacobs
FredericJacobs / gist:7376902
Created November 8, 2013 20:09
Installing Debian on a USB Key

hdiutil convert -format UDRW -o CHOOSENAME.img downloadedISOName.iso

sudo dd if=./CHOOSENAME.img.dmg of=/dev/rdiskXX bs=1m (get disk number by running diskutil list)

This file has been truncated, but you can view the full file.
Sampling process 66201 for 3 seconds with 1 millisecond of run time between samples
Sampling completed, processing symbols...
Analysis of sampling Flamingo (pid 66201) every 1 millisecond
Process: Flamingo [66201]
Path: /Applications/Flamingo.app/Contents/MacOS/Flamingo
Load Address: 0x105207000
Identifier: com.nonatomic.Flamingo
Version: 1.0.6 (1060)
Code Type: X86-64
Parent Process: launchd [152]
@FredericJacobs
FredericJacobs / gist:6845712
Created October 5, 2013 20:33
Facebook's JS <-> Objective-C Javascript bridge
/**
* JavaScript to be used with the simple JavaScript->native bridge
* included in Wilde v1 for Mobile Canvas support.
*
* @provides wilde-mobile-canvas-bridge
*/
// The only thing this code actually exposes in the global namespace
// is window.__fbNative; scroll to the bottom to see the explicit
// export.

The Boys of Deraa

SYRIA HAD ITS OFFICIAL PRIDE, and that pride helped blind it to the gathering storm kicked up by the Arab Spring. In late January 2011—a fortnight after the fall of the Tunisian strongman and days after Egyptians had taken to Liberation Square to overthrow their dictatorship—Bashar al-Assad gave an illuminating interview to The Wall Street Journal. If the tumult in the region had given him reason for concern, he hid it well. “Syria is stable. Why? Because you have to be strongly linked to the beliefs of the people. This is the core issue. When you have divergence . . . you will have this vacuum that creates disturbance.” He was at one with his people, he led a “confrontation” state with Israel, and he was at odds with the United States—all this immunized him against upheaval. Syria would not go the way of Egypt and Tunisia. “If you didn’t see the need for reform before what happened in Egypt and Tunisia, it’s too late to do any reform. If you want to talk about Tunisia and Egypt, we are o

~ ❯❯❯ sudo gem install cocoapods ⏎
Building native extensions. This could take a while...
ERROR: Error installing cocoapods:
ERROR: Failed to build gem native extension.
/Users/fred/.rvm/rubies/ruby-2.0.0-p247/bin/ruby extconf.rb
creating Makefile
make
compiling generator.c
~ ❯❯❯ nmap mybics.belgacom-ics.com -Pn -A ⏎
Starting Nmap 6.40 ( http://nmap.org ) at 2013-09-20 18:17 CEST
Nmap scan report for mybics.belgacom-ics.com (213.181.44.179)
Host is up (0.049s latency).
rDNS record for 213.181.44.179: 213-181-44-179.belgacom.be
Not shown: 999 filtered ports
PORT STATE SERVICE VERSION
443/tcp open ssl/http Juniper Networks Secure Access SSL VPN http config
|_http-methods: No Allow or Public header in OPTIONS response (status code 302)
@FredericJacobs
FredericJacobs / OpenSSL.podspec
Last active December 21, 2015 04:48
OpenSSL Podspec
Pod::Spec.new do |s|
s.name = "OpenSSL"
s.version = "1.0.1"
s.summary = "OpenSSL is an SSL/TLS and Crypto toolkit. Deprecated in Mac OS and gone in iOS, this spec gives your project non-deprecated OpenSSL support."
s.author = "OpenSSL Project <openssl-dev@openssl.org>"
s.homepage = "http://www.openssl.org/"
s.license = 'BSD-style Open Source'
s.source = { :http => "http://www.openssl.org/source/openssl-1.0.1e.tar.gz"}
s.requires_arc = false
@FredericJacobs
FredericJacobs / gist:6104396
Last active December 20, 2015 08:59
Iran - Webmail
# Links
Login : https://www.chmail.ir/
For the record, those DNS entries and the whois entry were captured on the 29th of July.
## Whois Entry
domain: chmail.ir