注 おれもわからん
sudo apt-get install clang
おしまい
Built-in Atom packages (90) | |
├── [email protected] | |
├── [email protected] | |
├── [email protected] | |
├── [email protected] | |
├── [email protected] | |
├── [email protected] | |
├── [email protected] | |
├── [email protected] | |
├── [email protected] |
WebAudio.prototype._createNodes = function() { | |
var context = WebAudio._context; | |
this._sourceNode = context.createBufferSource(); | |
this._sourceNode.buffer = this._buffer; | |
this._sourceNode.loopStart = this._loopStart; | |
this._sourceNode.loopEnd = this._loopStart + this._loopLength; | |
this._sourceNode.playbackRate.value = this._pitch; | |
this._gainNode = context.createGain(); | |
this._gainNode.gain.value = isFinite(this._volume) ? this._volume : 0; | |
this._pannerNode = context.createPanner(); |
static class console { | |
static void log(Object... objs) { | |
for (Object obj : objs) { | |
System.out.print(obj.toString()); | |
} | |
System.out.println(); | |
} | |
static void debug(Object... objs) { | |
log(objs); | |
} |
@@ -55,7 +55,21 @@ | |
After login, make `client` and `client_in` instance | |
to communicate with LINE server | |
""" | |
- raise Exception("Code is removed because of the request of LINE corporation") | |
+ | |
+ self.transport = THttpClient.THttpClient(self.LINE_HTTP_URL) | |
+ self.transport_in = THttpClient.THttpClient(self.LINE_HTTP_IN_URL) | |
+ | |
+ self.transport.setCustomHeaders(self._headers) |
#!/bin/bash | |
DEFAULT_DIR=/opt/gitlab/embedded/service/gitlab-rails/app/assets/images | |
PUBLISH_DIR=/opt/gitlab/embedded/service/gitlab-rails/public/assets | |
cd $DEFAULT_DIR | |
wget -O favicon.ico https://about.gitlab.com/ico/favicon.ico | |
wget -O brand_logo.png https://about.gitlab.com/images/logo.png | |
cp brand_logo.png logo-black.png | |
cp brand_logo.png logo-white.png |
console.tweet = function(tweet) { | |
if (typeof tweet !== "object") return; | |
var keys = ["screen_name", "user_id", "tweet_text", "thumbnail_url", "tweet_url"]; | |
var isValid = true; | |
keys.forEach(function(key){ | |
isValid &= tweet.hasOwnProperty(key); | |
}); | |
if (!isValid) return; |
import java.util.Arrays; | |
class EmbedPdeInPdf { | |
PApplet parent; | |
String filename; | |
EmbedPdeInPdf(PApplet _parent) { | |
parent = _parent; | |
} | |
class SecondApplet extends PApplet { | |
PApplet parent; | |
SecondApplet(PApplet _parent) { | |
super(); | |
// set parent | |
this.parent = _parent; | |
// init window | |
PSurface surface = super.initSurface(java.awt.Color.GRAY, -1, false, false); | |
surface.placeWindow(new int[]{0, 0}); |