Skip to content

Instantly share code, notes, and snippets.

Julien Blanchard julienXX

Block or report user

Report or block julienXX

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
fn visit_url(s: &mut Cursive, url: &str) {
match get_data(&url) {
Ok(new_content) => {
let mut select = SelectView::new()
View AppDelegate.m
//Tried something a bit brutal like to isolate the leak:
dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0),
__block BOOL notificationStillPresent;
NSUInteger notificationsCount = [[NSUserNotificationCenter defaultUserNotificationCenter] deliveredNotifications].count;
do {
notificationStillPresent = NO;
NSUInteger currentCount = [[NSUserNotificationCenter defaultUserNotificationCenter] deliveredNotifications].count;
NSLog(@"initial count %lu", (unsigned long)notificationsCount);
View *scratch*.el
"data": {
"id": "1",
"type": "books",
"relationships": {
"movements": {
"data": [
"id": "1",
"type": "movements"
pub fn rewrite_path(context: &RewriteContext,
expr_context: bool,
qself: Option<&ast::QSelf>,
path: &ast::Path,
width: usize,
offset: Indent)
-> Option<String> {
let skip_count = qself.map_or(0, |x| x.position);
let mut result = if && qself.is_none() {

Keybase proof

I hereby claim:

  • I am julienXX on github.
  • I am julienxx ( on keybase.
  • I have a public key whose fingerprint is 4E07 B128 0045 8466 59EC A50B 0560 91D2 5D8C B3CF

To claim this, I am signing this object:

julienXX / gist:2672774bb4d46139435c
Created Nov 16, 2015
Rust cross-compilation on OSX
View gist:2672774bb4d46139435c
rustc: x86_64-apple-darwin/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd
error: linking with `clang` failed: exit code: 1
note: "clang" "-Wl,--as-needed" "-m64" "-L" "/Users/julien/Code/rust/x86_64-apple-darwin/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib" "x86_64-apple-darwin/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/std-a5fc0d6c.0.o" "-o" "x86_64-apple-darwin/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/" "x86_64-apple-darwin/stage2/lib/rustlib/x86_64-unknown-linux-gnu/lib/std-a5fc0d6c.metadata.o" "-Wl,-O1" "-nodefaultlibs" "-Wl,--whole-archive" "/var/folders/ch/w6vlkkr912n00b_t8q6dkgl00000gn/T/rustc.UYg7RveANPbS/libcollections-a5fc0d6c.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/var/folders/ch/w6vlkkr912n00b_t8q6dkgl00000gn/T/rustc.UYg7RveANPbS/liballoc-a5fc0d6c.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/var/folders/ch/w6vlkkr912n00b_t8q6dkgl00000gn/T/rustc.UYg7RveANPbS/librustc_unicode-a5fc0d6c.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archiv
View is looking for developers

We're a rapidly growing startup and we are seeking to expand our team.

We are a team of 8 people divided into two offices (Paris and SF).

We develop the solution for SMBs which are heavy users of Online Services to manage their accounting and invoicing.

We are all focused on delivering value to our customers, in a lean mindset and welcoming ideas from all the team.

View gist:a2c8ac82d3740a3d2556
λ cargo build --verbose
Compiling quasi v0.3.2
Running `rustc /Users/julien/.cargo/registry/src/ --crate-name quasi --crate-type lib -g -C metadata=1fdecb603ecbb4c6 -C extra-filename=-1fdecb603ecbb4c6 --out-dir /Users/julien/Code/soccer/target/debug/deps --emit=dep-info,link -L dependency=/Users/julien/Code/soccer/target/debug/deps -L dependency=/Users/julien/Code/soccer/target/debug/deps -Awarnings`
Compiling aster v0.4.5
Running `rustc /Users/julien/.cargo/registry/src/ --crate-name aster --crate-type lib -g -C metadata=2a46d4b73f937fb9 -C extra-filename=-2a46d4b73f937fb9 --out-dir /Users/julien/Code/soccer/target/debug/deps --emit=dep-info,link -L dependency=/Users/julien/Code/soccer/target/debug/deps -L dependency=/Users/julien/Code/soccer/target/debug/deps -Awarnings`
Fresh pkg-config v0.3.5
Fresh gcc v0.3.13
Fresh winapi-build v0.1.1
Fresh matches v0.1.2
View *scratch*.el
(require 'cl)
(defun is-magit-buffer (buffer)
(let ((name (buffer-name buffer)))
(and (= ?* (aref name 0))
(not (string-match "^\\*magit\\*" name)))))
(defun kill-magit-buffers ()
(loop for buffer being the buffers
View *scratch*.el
efacture1: bundle exec rake environment resque:work QUEUES=setting_booter,efacture_fetching,credentials environment
efacture2: bundle exec rake environment resque:work QUEUES=efacture_download,efacture_report,efacture_request_response_polling environment
bill_fetching: bundle exec rake environment resque:work QUEUES=bill_fetching
repository_storing: bundle exec rake environment resque:work QUEUES=repository_storing
accounting_storing: bundle exec rake environment resque:work QUEUES=accounting_storing
You can’t perform that action at this time.