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
#!/usr/bin/env bash | |
# Copyright The Helm Authors. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# |
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 "Adafruit_SSD1306.h" | |
#include "Wire.h" | |
unsigned long previous_millis = 0; | |
const long interval = 1000; | |
const int font_size = 3; | |
const int width = 128; | |
const int height = 32; | |
const int i2c_address = 0x3C; | |
int hour = 10; |
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
async deleteCache(pattern) { | |
const caches = await this.redisClient.keysAsync(pattern); | |
caches.map((cacheKey) => this.redisClient.delAsync(cacheKey)); | |
} |
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
Random r = new Random(); | |
Point konum = Location; | |
for(int i=0;i<50;i++){ | |
int x = r.Next(-2,2); | |
int y = r.Next(-2,2); | |
Location = new Point(konum.X + x, konum.Y + y); | |
System.Threading.Thread.Sleep(10); | |
} | |
Location=konum; |
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
Random r = new Random(); | |
Point konum = Butonİsmi.Location; | |
for(int i=0;i<50;i++){ | |
int x = r.Next(-2,2); | |
int y = r.Next(-2,2); | |
Butonİsmi.Location = new Point(konum.X + x, konum.Y + y); | |
System.Threading.Thread.Sleep(10); | |
} | |
Butonİsmi.Location=konum; |