Skip to content

Instantly share code, notes, and snippets.

View farhaven's full-sized avatar
🦄
I'm a unicorn.

Gregor Best farhaven

🦄
I'm a unicorn.
View GitHub Profile
#include <sys/types.h>
#include <sys/stat.h>
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <string.h>
#include <unistd.h>
  • Platformen:
    • Unix/Linux: 9
    • Win32: 3
  • Programmiersprachen:
    • C: 8
    • C++: 8
    • J2EE/Java: 5
    • XSLT: 2
    • (La)TeX: 2
    • Perl: 2
-module(p3).
-export([prime_sieve/1, solution/0, solution/1]).
% generate a list of all primes smaller than N
prime_sieve(N) when is_integer(N) ->
prime_sieve([ 2 ] ++ [ X || X <- lists:seq(3, N) ]);
prime_sieve([]) -> [];
prime_sieve([H|C]) ->
[ H ] ++ prime_sieve(lists:filter(fun(X)-> (X rem H) /= 0 end, C)).

u23 - Funksicherheit

  • momentaner Stand

  • moegliche Attacken

    • Node IDs
  • Sicherheitsmassnahmen

    • Pruefsummen und Signaturen
  • Verschluesselung

u23 - Funksicherheit

  • momentaner Stand

  • moegliche Attacken

    • Node IDs
  • Sicherheitsmassnahmen

    • Pruefsummen und Signaturen
  • Verschluesselung

#!/usr/local/bin/python2.7
import getopt
import os
import os.path
import smtplib
import sys
import tempfile
import socket
import time
import subprocess
-- Environment
local awful = require('awful')
local capi = {
tag = tag,
mouse = mouse,
screen = screen,
keygrabber = keygrabber,
client = client
}
local ipairs = ipairs
-----------------------------
-- Plan9 theme for Awesome --
-----------------------------
return {
font = "Terminus 8",
bg_normal = "#9fefef", -- done
bg_focus = "#57a8a8", -- done
bg_urgent = "#478847", -- done
while ! bioctl -c C -l 6349e25527df5700.j softraid0; do
sleep 1
done
fsck -y /home
mount /home
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <string.h>
#include <unistd.h>