This file contains 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
From xiangkangzzz@163.com Sat Sep 28 21:28:52 2019 | |
Date: Sat, 28 Sep 2019 12:23:51 +0800 | |
From: 0 <xiangkangzzz@163.com> | |
Reply-To: billie@joawamould.com | |
Subject: E-017-00260_28 | |
Message-ID: <201909281224045885357@163.com> | |
X-Mailer: Foxmail 7, 0, 1, 91[cn] | |
Dear ask |
This file contains 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
#if defined(__APPLE__) | |
#include <OpenGL/gl.h> | |
#include <OpenGL/glu.h> | |
#else | |
#include <GL/gl.h> | |
#include <GL/glu.h> | |
#endif | |
#include <GLUT/glut.h> | |
#include <stdio.h> |
This file contains 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
fdisk /dev/sdY | |
# create single partition type 7+bootable partition | |
mkfs.ntfs -f /dev/sdY1 | |
ms-sys -7 /dev/sdY | |
mount -o loop win7.iso /mnt/iso | |
mount /dev/sdY1 /mnt/usb | |
cp -r /mnt/iso/* /mnt/usb/ |
This file contains 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
use std::io::prelude::*; | |
use std::thread; | |
use std::net::{TcpStream, TcpListener}; | |
fn network_process() { | |
let listener = TcpListener::bind("127.0.0.1:1337").unwrap(); | |
let mut handlers = Vec::new(); | |
match listener.accept() { | |
Ok((mut socket, addr)) => { |
This file contains 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
<?xml version='1.0'?> | |
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> | |
<fontconfig> | |
<match target="pattern"> | |
<test name="family" qual="any"> | |
<string>monospace</string> | |
</test> | |
<edit binding="strong" mode="prepend" name="family"> | |
<string>Fira Mono</string> | |
</edit> |
This file contains 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
Here's how to do the iPhone FaceTime bug: | |
• Start a FaceTime Video call with an iPhone contact. | |
• Whilst the call is dialling, swipe up from the bottom of the screen and tap Add Person. | |
• Add your own phone number in the Add Person screen. | |
• You will then start a group FaceTime call including yourself and the audio of the person you originally called, even if they haven't accepted the call yet. |
This file contains 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 QMK_KEYBOARD_H | |
enum mitosis_layers | |
{ | |
_QWERTY, | |
_SHIFTED, | |
_FUNCTION, | |
_FUNCSHIFT, | |
}; |
This file contains 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
module Sustenance | |
def initialize | |
@stomach = [] | |
super | |
end | |
def eat(food) | |
@stomach << { food: food } | |
end |
This file contains 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
// extern crate take5; | |
// extern crate remote; | |
use std::io::{Read, Write}; | |
use std::net::{SocketAddr, TcpStream, TcpListener, Shutdown}; | |
use std::thread; | |
use std::time::Duration; | |
use std::sync::{Arc, Mutex}; | |
// use take5::player::AiPlayer; | |
// use remote::Client; |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"> | |
<title>iOS 12 Safari bugs</title> | |
<script type="text/javascript"> | |
window.addEventListener("load", function () | |
{ | |
let arr = [1, 2, 3, 4, 5]; |