Login
Discover
Waves
Decks
Plus
Login
Signup
seyon
@seyon
25
Followers
7
Following
0
Resource Credits
Available
Used
Created
January 8, 2018
RSS Feed
Subscribe
Posts
Blog
Posts
Comments
Communities
Wallet
seyon
rust
2018-02-23 03:03
rust install behind proxy
download and unzip move folder move C:\rust\rust-std-i686-pc-windows-gnu\lib\rustlib\i686-pc-windows-gnu C:\rust\rustc\lib\rustlib path set
$ 0.000
0
2
seyon
godot
2018-02-14 01:34
godot collision detection mouse position
extends Area2D var clckd=false var pos_chd=false func _process(delta): if clckd: clckd = false pos_chd = true print('\nms click') func _physics_process(delta): if pos_chd: pos_chd=false print('\n pos changed')
$ 0.000
0
1
seyon
godot
2018-02-08 02:40
godot set tile
It is from godot 2d demo isometric func _input(e): if (e is InputEventMouseButton and e.button_index == BUTTON_LEFT and not e.pressed): var gmpos = get_global_mouse_position()
$ 0.000
1
seyon
godot
2018-02-08 02:34
godot KinematicBody2D move to mouse
It is from godot 3 2d isometric demo extends KinematicBody2D # Member variables const MOTION_SPEED = 16000 # Pixels/second var to = Vector2() var step = 10 func _physics_process(delta): #move_and_slide(motion
$ 0.000
1
seyon
godot3
2018-02-07 13:42
godot3 mouse position
func _input(e): if (e is InputEventMouseButton and e.button_index == BUTTON_LEFT and not e.pressed): print("Mouse Click/Unclick at: ", e.position, 'g: ',get_viewport().get_mouse_position())
$ 0.000
0
seyon
godot
2018-02-06 07:36
godot : sprite move to mouse position
const MOTION_SPEED = 350 # Pixels/second<br> func ... <br> var m = get_global_mouse_pos() var motion = Vector2(m.x-get_pos().x,m.y-get_pos().y) motion = motion.normalized()*MOTION_SPEED*delta
$ 0.000
0
seyon
bitcoin
2018-01-18 00:51
coin ICO 알아봅시다
ICO라는 말이 많이 나오는데요.. ICO란 Initial Coin Offering 어.. 머지?? 나 새로 코인 만들거거등,, 지금 사면 프리미엄 붙을거니까 얼렁사놔... ㅇㅋ?? 이거에요.. 참 쉽죠?
$ 0.000
0
seyon
paypal
2018-01-18 00:35
paypal, eToro로 bitcoin,가상화폐 사러가자.
요즘 가상화폐 신규 가입이 막혀있어 답답하시죠? 재정거래도 안되어 속쓰리죠? 이럴때 사용할 수 있는 것이 eToro입니다. 에 접속후 가입하면 추가 인증없이 paypal을 이용해서 거래가 가능합니다. 주의 사항이 있는데... 다른 거래소로 코인 전송안되여.. withdraw시 50$이상이고 fee가 2.5$ 라는거..!! 이거
$ 0.000
4
seyon
php
2018-01-15 02:53
php zip
function mkzip($znm, $src = array()){ $dnm = dirname(getcwd()); $zfd = new ZipArchive(); $zfd->open($znm, ZipArchive::CREATE | ZipArchive::OVERWRITE); foreach ($src as $f1){ if(is_dir($f1)) addzipD($zfd,
$ 0.000
0
seyon
php
2018-01-15 02:40
php unzip
function unzip($znm) { if (!file_exists($znm)){ throw new Exception("[$znm] not exists "); } $dnm = pathinfo($znm, PATHINFO_FILENAME); if (file_exists($dnm) && ! is_dir($dnm)){ throw
$ 0.000
0
seyon
php
2018-01-15 02:12
php copy file
// php copy file function copyR($src, $dst){ if (! is_dir($src)) return; @mkdir($dst); $files = scandir($src); foreach ($files as $file) { if ($file == '.' || $file == '..') continue;
$ 0.000
0
seyon
php
2018-01-15 02:04
php delete folder
// delete file or folder function delFile($fnm){ if(is_dir($fnm)) delTree($fnm); else unlink($fnm); } function delTree($dir){ $files = array_diff(scandir($dir), array('.', '..')); foreach ($files as $f1)
$ 0.000
0
seyon
java
2018-01-08 02:09
java text save
// save text utf-8 public static boolean txtSave(String fnm, String text) { Writer out = null; try { out = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(fnm), "UTF-8"));
$ 0.000
0
seyon
java
2018-01-08 01:49
java Qlst
public class Qlst extends ArrayList< Qmap > { }
$ 0.000
0
seyon
java
2018-01-08 01:44
java closeQuietly
public static void closeQuietly(Closeable closeable) { if (closeable != null) { try { closeable.close(); closeable = null; } catch (IOException ex) { } } }
$ 0.000
0
seyon
java
2018-01-08 01:26
java StrList
public class StrList extends ArrayList < String> { public StrList() { super(); } public StrList(StrList c) { super((ArrayList<String>) c); } }
$ 0.000
0
seyon
java
2018-01-08 01:17
java Qmap
public class Qmap extends HashMap<String, Object> { public Qmap() { super(); } public Qmap(HashMap map) { super(map); } public String getStr(String k) { return (String) this.get(k); } public int
$ 0.000
1
seyon
java
2018-01-08 01:09
java - zip
public static boolean zip(String znm, StrList flst) { FileOutputStream fos = null; ZipOutputStream zipOut = null; try { fos = new FileOutputStream(znm); zipOut = new ZipOutputStream(fos); for (String fnm
$ 0.000
0