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
<?xml version="1.0" encoding="UTF-8"?>
<opml version="1.0">
<head>
<title>Subscriptions - Swiss News</title>
</head>
<body>
<outline htmlUrl="http://24heures.ch" title="24 heures Vaud und Régions" xmlUrl="http://www.24heures.ch/vaud-regions/rss.html" type="rss" text="24 heures Vaud und Régions"/>
<outline htmlUrl="http://www.lausanne.ch/agenda-actualites/actualites-municipales.html" title="Actualités municipales - Ville de Lausanne" xmlUrl="http://webapps.lausanne.ch/ressources/RSS/decisions_municipales.xml" type="rss" text="Actualités municipales - Ville de Lausanne"/>
<outline htmlUrl="http://actu.epfl.ch/" title="EPFL news" xmlUrl="http://actu.epfl.ch/feeds/rss/fr/" type="rss" text="EPFL news"/>
<outline htmlUrl="http://www.vd.ch/" title="Etat de Vaud - Communiqués de Presse" xmlUrl="http://www.vd.ch/actualite/communiques/communiques-de-presse/?type=100" type="rss" text="Etat de Vaud - Communiqués de Presse"/>
@FredericJacobs
FredericJacobs / .update-script.sh
Created March 16, 2016 12:45
Script I run daily to update dependencies.
#!/bin/sh
echo "🆕 Updating System (root)"
sudo softwareupdate --install --all
echo "🆕 Updating Gems";
gem update;
echo "🆕 Updating Brew";
brew update;
@FredericJacobs
FredericJacobs / gist:b1b518125b7066880359
Last active November 7, 2021 09:54
Some notes about Reporta app since some people expressed worry about Reporta's security.

Analytics

Analytics track you, but they also keep local files really useful for forensics to gather evidence against you.

Google Analytics

Because of course, you need to know if people actually use it when it's developed by a PR firm. Google Analytics tracks a lot of your moves and stored locally in a cache then uploaded to Google servers. Every action is logged.

@FredericJacobs
FredericJacobs / 1-AppDelegate.m
Last active September 21, 2017 08:47
Hello Bitcode
#import "AppDelegate.h"
@implementation AppDelegate
- (void)applicationDidFinishLaunching:(UIApplication *)application {
NSLog(@"Hello Bitcode!");
}
@end
This file has been truncated, but you can view the full file.
Updating local specs repositories
Analyzing dependencies
Pre-downloading: `CPAProxy` from `https://github.com/ursachec/CPAProxy.git`
[!] /bin/bash -c
set -e
bash ./scripts/build-all.sh
No iOS SDK specified. Using the only one available: 9.0
Building architectures: i386 x86_64 armv7 arm64
Building libraries: openssl libevent tor
@FredericJacobs
FredericJacobs / gist:1614f8eb741532c3f2cb
Created August 7, 2015 15:30
A poem by Bram Cohen, creator of BitTorrent: The Revolution Will Not Be Monetized
You are in the wrong place
You aren't going to find what you came for
You might as well go home
You aren't going to get rich here
Because the revolution will not be monetized
The revolution will not have a multi-billion dollar addressable market
The revolution will not follow a freemium business model
The revolution will not come free to play
The revolution will not enroll in YCombinator
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC/34WiAJzJlAj563VH4IL7F+4lvHRf2ozplc4XOQsqtKwAiuJB5H9BDPxyTZUzlQqltuFgWvbkegfoRA9t8jVzymOxjlyVzwd8FHPPhsczyuJWY2QFrgadgHjl2kBfQLu4KNInDUf4oIzAzNDbLmoXuvUxoTD9fGZcwnkf6Uv1XzlKq09DSTz++fgTE3PiAZlt3AcR3MBzN0vQvuGhfl4QWG+kDgmMmm5FQcTdlGABV5mk/nDDnMcMwMO6YUpaAaMq6FhyFmwtc0812Yd6dk8HOJmztz5pVBaRU4ID15gk18y+WYlsK4vzJGnO7S+gvJZYoTcPcEtW6Wx+v5AHG/3Ia2xy8eiK1v5fclAcMAJJFyH1UENMpXz6HT3rYHyuNkJl2sIobaULLRo2EYPy+gNxPIww4lA0+GiOyLlKiDft6e762+Qf24aonhbOSqapqFPiPASG3rM9vhvT/l63T8X6uV5RR/+sSF/OB5k+3JoEcroxqtsdKWVFuncqkaiYFmy6ZJF8kw1cxp7qFV+gxgcXKGX8VueAiysDKkBQJ3Zt+p85ZeWX8lWVgY7uPjdWgkTqCGTdwiYB395Z8MS8+tShkoIK/5m0xnEi2XgABuLfYFum/3vrZLC7SqMUFdNxMeM0nVG58LIHoaYhRAHBcsDCGr2JyF74dRL18FHR8RnsBQ== me@fredericjacobs.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
<dict>
<key>client-data</key>
<dict>
<key>supports-location-sharing</key>
<true />
<key>public-message-identity-key</key>
<data>MIH2gUMAQQTrGFStQ3ijzU/YmLTCl9hA2W0Wwwjytqyvwzp6BzhHbMzFWMbrGFKI2fReJqJiwp44uddRh870wxCQ67LOhNB2goGuAKwwgakCgaEAr24oximuTM7JZ9X4y+Fl6Gl/j/CCDd/nJxFhhJV+iEWK29+DE/2TQe66bOPK52naX0HohwHb8vNrehwgR98yvBfqdPRiFjmeemcSM4qgVm9roNoB/LkwCkfa93oMsOtXUHpaala4N2ZxqsqeQK//wW93JbpEJii5rlxH0VH/769DHHkRtziwkU+sFuj2p3IpPkdFlnWtiYCJiKqcxIlutQIDAQAB</data>
func newHTTPTransporter(baseURL, user, pass string, skipTLSCheck bool) *httpTransporter {
client := &http.Client{}
if skipTLSCheck {
client.Transport = &http.Transport{
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
Proxy: http.ProxyFromEnvironment,
}
} else {
client.Transport = &http.Transport{
Proxy: http.ProxyFromEnvironment,
@FredericJacobs
FredericJacobs / gist:a548bd9e5400fa378978
Created March 9, 2015 20:46
APPLE-SA-2015-03-09-3 Security Update 2015-002
iCloud Keychain
Available for: OS X Yosemite v10.10.2
Impact: An attacker with a privileged network position may be able
to execute arbitrary code
Description: Multiple buffer overflows existed in the handling of
data during iCloud Keychain recovery. These issues were addressed
through improved bounds checking.
CVE-ID
CVE-2015-1065 : Andrey Belenko of NowSecure