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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <link rel="icon" type="image/x-icon" href="/favicon.ico"> | |
| <title>Rebane's Discord Colored Text Generator</title> | |
| <meta charset="UTF-8"> | |
| <meta name="description" content="Rebane's Discord Colored Text Generator"> | |
| <meta name="author" content="rebane2001"> | |
| <style> | |
| /* |
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
| [[runners]] | |
| name = "tt708-windows" | |
| url = "https://gitlab.com/" | |
| token = "[REDACTED]" | |
| executor = "shell" | |
| shell = "bash" | |
| builds_dir="/c/gitlab-runner/builds/" | |
| cache_dir="/c/gitlab-runner/cache/" | |
| [runners.cache] | |
| [runners.cache.s3] |
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; | |
| using UnityEngine.UI; | |
| public static class ScrollRectExtensions | |
| { | |
| /// <summary> | |
| /// Tell the Scroll Rect View to snap to the given element (top). | |
| /// </summary> | |
| public static void SnapTo( | |
| this ScrollRect scrollRect, |
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 async Task<string> GetResponseAsStringAsync(HttpWebRequest webRequest, string post = null) | |
| { | |
| if (post != null) | |
| { | |
| webRequest.Method = "POST"; | |
| using (Stream postStream = await webRequest.GetRequestStreamAsync()) | |
| { | |
| byte[] postBytes = Encoding.ASCII.GetBytes(post); | |
| await postStream.WriteAsync(postBytes, 0, postBytes.Length); | |
| await postStream.FlushAsync(); |
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
| /* | |
| MIT License | |
| Copyright (c) 2021 Chillu | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is |
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.Collections.Generic; | |
| using System.Linq; | |
| using System.Security.Cryptography; | |
| using System.Text; | |
| using System.Threading.Tasks; | |
| namespace aes_example | |
| { | |
| using System; |
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 UnityEngine; | |
| /// <summary> | |
| /// This is a generic Singleton implementation for Monobehaviours. | |
| /// Create a derived class where the type T is the script you want to "Singletonize" | |
| /// Upon loading it will call DontDestroyOnLoad on the gameobject where this script is contained | |
| /// so it persists upon scene changes. | |
| /// </summary> | |
| /// <remarks> |
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
| ## Unity ## | |
| *.cs diff=csharp text | |
| *.cginc text | |
| *.shader text | |
| *.mat merge=unityyamlmerge eol=lf | |
| *.anim merge=unityyamlmerge eol=lf | |
| *.unity merge=unityyamlmerge eol=lf | |
| *.prefab merge=unityyamlmerge eol=lf |
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
| gitlab-rails console production | |
| user = User.create(:username=>'root',:password=>'xXxXx',:password_confirmation=>'',:email=>'root@example.com',:name=>'root') | |
| user.save! |
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 PointGizmo : MonoBehaviour | |
| { | |
| enum DrawType | |
| { | |
| Solid, | |
| Wire | |
| } |
NewerOlder