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
using System; | |
using System.Reflection; | |
using Xamarin.Forms; | |
using Xamarin.Forms.Xaml; | |
namespace HeVibrates | |
{ | |
[ContentProperty (nameof(Source))] | |
class ImageResourceExtension:IMarkupExtension | |
{ |
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
App.Current.Properties.Add("key", value); | |
await App.Current.SavePropertiesAsync(); |
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 'dart:io'; | |
import 'dart:convert'; | |
Future main() async { | |
var server = await HttpServer.bind( | |
InternetAddress.loopbackIPv4, | |
3000, | |
); | |
print('Listening on localhost:${server.port}'); |
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
using UnityEngine; | |
public class PlayerController : MonoBehaviour | |
{ | |
const float walkSpeed = 5.0f, runSpeed=8.0f; | |
float yRot, xRot; | |
float rotationSpeed = 7f; | |
float speed; | |
[SerializeField] | |
Camera cam; |
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
flameshot gui |
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
source ~/.bash_profile | |
grep kvm /etc/group | |
chown $USER /dev/kvm | |
flutter pub get |
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
public static class ListsExtension | |
{ | |
public static T Pop<T>(this List<T> clist, int index) where T : INTERFACE | |
{ | |
var c = clist[index]; | |
cargos.RemoveAt(index); | |
return c; | |
} | |
} |
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
public static class Path { | |
private bool isValidPath(string path) | |
{ | |
if (path.Length < 3 || | |
!new Regex(@"^[a-zA-Z]:\\$").IsMatch(path.Substring(0, 3)) || | |
!DriveInfo.GetDrives().Select(drive => drive.Name).Contains(path.Substring(0, 3)) || | |
new Regex("[" + Regex.Escape(new string(Path.GetInvalidPathChars()) + @":/?*" + "\"") + "]").IsMatch(path.Substring(3, path.Length - 3)) || | |
path[path.Length - 1] == '.') | |
return false; |
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
๋ณธ github.com์ repositorie ์, ํ๋ก์ ํธ ์ ์์ ๋ฑ๊ณผ ๊ฐ์ ๋ชจ๋ ๋ฌธ์, ์ฌ์ง ๋ฑ์ โORGANIZATION_NAMEโ github organization์ ์์ ์ฐฝ์๋ฌผ์ ๋๋ค. | |
์ ์ ์๋ฌผ ๋ฑ์ ์๋์ ๊ฐ์ CCL์ ๋ฐ๋ฆ ๋๋ค. | |
CC BY NC ND | |
์ ์๋ฌผ์ ์ฌ์ฉํ ๋, ์ ์๊ถ์(์ดํ ORGANIZATION_NAME)๋ฅผ ํ์ํด์ผํ๋ฉฐ, | |
๊ทธ ๋ชฉ์ ์ ๋น์๋ฆฌ์ฌ์ผ ํฉ๋๋ค. ๋ํ ์ ์๋ฌผ์ ๋ด์ฉ์ ๋ณ๊ฒฝ ํ ์ ์์ต๋๋ค. | |
ํ์ง๋ง ์ถ์ฒ์ ์ ์๊ถ์๋ฅผ ๋ช ์ ํ๋ค๋ฉด ์ฌ์ฉ ํ ์ ์์ต๋๋ค. |
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
export GOPATH=Address ex) $HOME/MyProject | |
export PATH=$PATH:$GOROOT/bin:$GOPATH/bin |