Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.
You've got two main options:
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
#!/bin/bash | |
old_memcg_num=$(cat /proc/cgroups | awk '/memory/ {print $3}') | |
free -m | |
slabtop -o | head | |
echo "now the number of memory cgroup is $old_memcg_num" | |
echo "begin to create cgroups" | |
prefix=/sys/fs/cgroup/memory/aklis |
#!/usr/bin/python | |
bpf_text = """ | |
#include <linux/ptrace.h> | |
#include <linux/sched.h> /* For TASK_COMM_LEN */ | |
#include <linux/icmp.h> | |
#include <linux/netdevice.h> | |
struct probe_icmp_data_t | |
{ | |
u64 timestamp_ns; | |
u32 tgid; |
# ___ ___ __ __ | |
# / | __ ______/ (_) /_____/ / | |
# / /| |/ / / / __ / / __/ __ / | |
# / ___ / /_/ / /_/ / / /_/ /_/ / | |
# /_/ |_\__,_/\__,_/_/\__/\__,_/ | |
# | |
# Linux Audit Daemon - Best Practice Configuration | |
# /etc/audit/audit.rules | |
# | |
# Compiled by Florian Roth |
. | |
├── matree | |
├── swift | |
│ ├── 00503_0_254.242_2013mar02 | |
│ ├── 00546_0_ensbdasa-09aug2013 | |
│ ├── 00553_0_ensbdpix3-09aug2013 | |
│ ├── 00554_0_ensbdpix4-09aug2013 | |
│ ├── 00555_0_ensbdrtr1-2013aug09 | |
│ ├── 00557_0_ENSBDVPN1-02AUG2013 | |
│ ├── 00558_0_ENSBDVPN2-02AUG2013 |
from Crypto.Util.number import * | |
from Crypto.Cipher import AES | |
import requests | |
import time | |
import base64 | |
def xor(a, b): | |
return "".join([chr(ord(a[i]) ^ ord(b[i % len(b)])) for i in xrange(len(a))]) |
function (urandom) { | |
function step1(){ | |
var a = new Date(); | |
var b = Number(a.getFullYear()); | |
t = 0; | |
for (var i = 0; i < b.length; i++ ){ | |
t += parseInt(); | |
} | |
var c = String(a.getFullYear()); |
<?php | |
//TODO: connect to DB | |
$id = $_GET['id']; | |
//TODO: sqli filter | |
$secretId = 1024; | |
if($id == $secretId){ |