Skip to content

Instantly share code, notes, and snippets.

View uzleo's full-sized avatar

Uzair Sharif uzleo

  • Munich, Germany
View GitHub Profile
mysql -D X -e "select id from fi_records where system='aes-82a2288' and sihft='swiftdfBESegm' and detected is null and error_type='Controlflow' and outcome='EDC';" | while read id; do id=$(printf "%06d" $id); tar xf swiftdfBESegm_300320201721_2.tar.gz swiftdfBESegm_300320201721_2/ml/fault${id}_log -O | head -30 >> x; done
@uzleo
uzleo / main.ll
Created February 28, 2019 14:14
ir for swift
; ModuleID = 'main2.c'
source_filename = "main2.c"
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-pc-linux-gnu"
; Function Attrs: noinline nounwind optnone uwtable
define dso_local i32 @main() #0 {
%1 = alloca i32, align 4 // &x
// %1_dup = %1
%2 = alloca i32, align 4 // &y
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
@uzleo
uzleo / sample-google.c
Created February 15, 2017 12:51 — forked from davidzchen/sample-google.c
Sample C code using the Google C++ style guide
// Sample file using the Google C++ coding standard.
//
// http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml
//
// General rules:
// - Indents are two spaces. No tabs should be used anywhere.
// - Each line must be at most 80 characters long.
// - Comments can be // or /* but // is most commonly used.
// - File names should be lower_case.c or lower-case.c
//