Generate default .config
.
$ make defconfig ARCH=um SUBARCH=x86_64
Build the linux
ELF binary.
$ make -j8 linux ARCH=um SUBARCH=x86_64
"""Use it like this: main('192.168.1.0/24')""" | |
IPV4_MIN = 0 | |
IPV4_MAX = 0xFFFFFFFF | |
def not_network(ipv4_address, ipv4_netmask): | |
assert IPV4_MIN <= ipv4_address <= IPV4_MAX | |
assert IPV4_MIN <= ipv4_netmask <= IPV4_MAX | |
def hostmask_netmask(m): |
import time | |
import os | |
def plopp(): | |
time.sleep(0.5) | |
print("\033[0;0H ") | |
print( " ") | |
print( " # ") | |
print( " ") | |
print( " ") |
QUESTIONS AND ANSWERS | |
For Stunts, version 1.1 (2/12/91) | |
Page Line Word Question | |
1 12 2 ...and *destructive* stunts that can smash your car... | |
3 2 1 *track* selection screen. Your goal is to be on it. | |
3 13 4 In addition, *previewing* might give you a better... | |
4 4 4 ...time than missing *three* pieces of regular... | |
4 8 1 *proper* direction. If you get on the track... | |
5 12 3 hit the *cables* and crash... |
#! /usr/bin/python | |
import sys | |
import ldap | |
from ldap.controls import SimplePagedResultsControl | |
from distutils.version import LooseVersion | |
# Check if we're using the Python "ldap" 2.4 or greater API | |
LDAP24API = LooseVersion(ldap.__version__) >= LooseVersion('2.4') |
package main | |
import ( | |
"bytes" | |
"io" | |
"os" | |
"os/exec" | |
) | |
func main() { |
package main | |
import ( | |
"database/sql" | |
"database/sql/driver" | |
"errors" | |
"fmt" | |
_ "github.com/mattn/go-sqlite3" | |
) |
#!/bin/bash | |
# Example for the Docker Hub V2 API | |
# Returns all imagas and tags associated with a Docker Hub user account. | |
# Requires 'jq': https://stedolan.github.io/jq/ | |
# set username and password | |
UNAME="" | |
UPASS="" |
$ ssh <user>@<mac-without-screen> | |
$ sudo defaults write /var/db/launchd.db/com.apple.launchd/overrides.plist com.apple.screensharing -dict Disabled -bool false | |
$ sudo launchctl load /System/Library/LaunchDaemons/com.apple.screensharing.plist | |
/System/Library/LaunchDaemons/com.apple.screensharing.plist: Service is disabled | |
$ sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.screensharing.plist |
package main | |
import ( | |
"fmt" | |
"io" | |
"net/http" | |
"reflect" | |
"golang.org/x/net/websocket" | |
) |