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 {initGLSLCode} from './glslcode'; | |
const fragment = `#ifdef GL_ES | |
precision mediump float; | |
#endif | |
uniform float time; | |
uniform vec2 mouse; | |
uniform vec2 resolution; | |
uniform float scale; |
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
require 'docker' | |
require 'listen' | |
APP_NAME = 'hoge' | |
def retrieve_file(app_root, file) | |
dir = File.dirname(file) | |
container_dir = dir.to_s.sub(Regexp.new(app_root + '/'), '') | |
container_file = file.to_s.sub(Regexp.new(app_root + '/'), '') | |
return container_dir, container_file |
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
// valid AArch64(ARMv8) assembly code. | |
// no data section, no null bytes but still not confirmed as valid shellcode. | |
// working in progress. | |
.text | |
.global _start | |
_start: | |
mov x1, xzr | |
mov x0, #0x732f | |
movk x0, #0x7379, lsl #0x10 | |
movk x0, #0x6574, lsl #0x20 |
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
$('.promoted-tweet .js-action-dismiss').click(); |
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
# mount -o rw,remount rootfs / | |
# chmod 777 /mnt/sdcard |
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
(function() { | |
var tweets = []; | |
$('div.content').map(function(_,d){ | |
d = $(d); | |
var img = d.find('img.js-action-profile-avatar')[0]; | |
var screen_name = $(d.find('span.username > b')[0]).text(); | |
var detail_url = $(d.find('small > a')[0]).attr('href'); | |
detail_url = detail_url || ""; | |
detail_url = detail_url.replace('/' + screen_name + '/status/', ''); | |
var time = $(d.find('small > a > span')[0]).attr('data-time'); |
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> | |
<head> | |
<title>refract test</title> | |
<link rel="stylesheet" href="style.css" type="text/css" media="screen" /> | |
</head> | |
<body> | |
<canvas width="465" height="465" id="world"></canvas> | |
<div class="input"> | |
n1 : <input type="text" id="n1" value="1.000293" /> | |
n2 : <input type="text" id="n2" value="1.333" /> |
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
set timeout 3600 | |
spawn android-sdk-macosx/tools/android update sdk -u | |
expect { | |
"Do you accept the license" { | |
send "y\n" | |
exp_continue | |
} | |
Downloading { | |
exp_continue |
Building External Modules
This document describes how to build an out-of-tree kernel module.
=== Table of Contents
=== 1 Introduction
=== 2 How to Build External Modules
--- 2.1 Command Syntax
--- 2.2 Options
NewerOlder