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
#import <UIKit/UIKit.h> | |
@interface YMGraphCell : UIView | |
// オーバーライドして、遅延描画 | |
- (void)drawRectAsync:(CGRect)rect andContext:(CGContextRef)context; | |
@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
#!/bin/sh | |
cd ~/Library/Application\ Support/iPhone\ Simulator/ |
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
blockdiag { | |
default_fontsize = 18; | |
orientation = portrait; | |
class page [shape = "roundedbox",textcolor = #ffffff,color = #1f497d]; | |
class popup [shape = "roundedbox",textcolor = #ffffff,color = #4bacc7]; | |
class condition[shape = "diamond",textcolor = #000000]; | |
// node description | |
a [class = "page", label = "TOP\nhogehoge"]; | |
d [class = "popup"]; |
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 <iostream> | |
using namespace std; | |
class safetyArray { | |
char **array_; | |
int row_size_; | |
int column_size_; | |
public: | |
safetyArray(int row_size, int column_size); |
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
@interface HogeViewController : UIViewController <UIAccelerometerDelegate>{ | |
... |
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
static { | |
Security.insertProviderAt(new org.spongycastle.jce.provider.BouncyCastleProvider(), 1); | |
} | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.activity_main); | |
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
package main | |
import ( | |
"fmt" | |
"math/cmplx" | |
) | |
func Cbrt(x complex128) complex128 { | |
var z complex128 = 1.0 | |
for { |
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
package main | |
import ( | |
"code.google.com/p/go-tour/wc" | |
"strings" | |
) | |
func WordCount(s string) map[string]int { | |
seperate := strings.Split(s, " ") | |
result := make(map[string]int) |
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
"Settings | |
let scrolltep = 60 | |
let fullpagescrollpercent = 100 | |
"set nohud | |
set autohidecursor | |
"set noinsertmappings | |
set nosmoothscroll | |
let blacklists = ["https://app.gather.town/*", "https://editor.note.com/*", "https://www.notion.so/*", "https://drive.mindmup.com/*", "https://app.clubhouse.io/*", "https://app.clickup.com/*", "https://app.classdo.com/*", "https://*.typeform.com/*", "https://magic-pod.com/*", "https://miro.com/app/*", "https://web.omnifocus.com/*", "https://developer.apple.com/*", "https://*.youtube.com/*", "https://*.1password.com", "https://*.slack.com/*", "https://kanbanflow.com/*", "https://trello.com/*", "https://workflowy.com/*", "https://app.zeplin.io/*", "https://*.google.com/*", "https://*classdo.*/*"] | |
let mapleader = "," | |
"let locale = "jp" |
OlderNewer