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
var foundAny=false; | |
function selectAllByLetter(remainingLetters) { | |
console.log(remainingLetters) | |
var letter = remainingLetters.pop(); | |
$("#channel_invite_filter").val(letter).trigger("input"); | |
setTimeout(function() { | |
$(".channel_invite_member:not(hidden)").each(function(i, obj) { | |
foundAny=true; | |
this.click(); | |
}); |
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
using UnityEngine; | |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
// Merge multiple Sprites as one sprite | |
public static class SpriteMerger { | |
public static Sprite MergeSprite(Sprite[] sprites) { | |
// 스프라이트 중 가장 큰 크기의 것으로 지정되야함 |
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
# Created by https://www.gitignore.io/api/unity | |
# Edit at https://www.gitignore.io/?templates=unity | |
# Jetbrain Rider Cache | |
.idea/ | |
Assets/Plugins/Editor/JetBrains* | |
# Visual Studio Code | |
.vscode/ |
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 <SoftwareSerial.h> | |
#include <AFMotor.h> | |
AF_DCMotor motor_L(4); // 모터드라이버 L293D 3: M3에 연결, 4: M4에 연결 | |
AF_DCMotor motor_R(3); | |
// ???? | |
int i; | |
int j; | |
//초음파센서 출력핀(trig)과 입력핀(echo), 변수, 함수 선언// |
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
from google.cloud import storage | |
import os | |
certificationJsonFile = 'XXXXX.json' | |
bucketName = r'pubsite_prod_rev_XXXXXX' | |
reportYear = 2018 | |
# Connecte with Service Account | |
storage_client = storage.Client.from_service_account_json(certificationJsonFile) |
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 time | |
from selenium import webdriver | |
from selenium.webdriver.common.by import By | |
import pdfkit | |
# 작년의 모든 애드몹 수입 지불 영수증을 자동으로 PDF로 다운로드하는 스크립트 | |
# 필요한 의존 라이브러리 | |
# PIP : selenium, pdfkit |
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
public class AudioManager : MonoBehaviour { | |
public static AudioManager Instance | |
{ | |
get | |
{ | |
if (!m_instance) | |
{ | |
m_instance = FindObjectOfType<AudioManager>(); | |
if (!m_instance) |
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
public class DataDownloader : MonoBehaviour | |
{ | |
//... | |
private IEnumerator DownloadAndCache(Action<AssetBundle> objectReceiver, string bundleUrl) | |
{ | |
UnityWebRequest wwwReq = UnityWebRequest.Head(bundleUrl); | |
yield return wwwReq.SendWebRequest(); |
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
using System; | |
using System.Collections; | |
public class Program | |
{ | |
public static void Main() | |
{ | |
Action<int[]> bubleSort = (int[] list) => { | |
bool again = false; | |
int limit = list.Length; |