Skip to content

Instantly share code, notes, and snippets.

Avatar
🚀
Building a spacecraft! 🛸👽🌌

Oğuzhan Eroğlu rohanrhu

🚀
Building a spacecraft! 🛸👽🌌
View GitHub Profile
View star.c
#include <stdio.h>
int main() {
int base = 50;
int ls = base/2;
int ms = 0;
for (int i=0; i < (base/2)+1; i++) {
if (i == base/2) {
for (int j=0; j < base; j++) {
View LogitechGClickFlasher.lua
EnablePrimaryMouseButtonEvents(true);
function OnEvent(event, arg)
if arg == 1 then
color = 0
repeat
if color == 0 then
SetBacklightColor(255,0,0, "mouse")
color = 1
View SuccessQueuee.js
var SuccessQueuee = function () {
this.queuee = [];
this.is_ran = false;
};
SuccessQueuee.prototype.push = function (func) {
if (this.is_ran) {
func();
return false;
}
View Centralize.py
# Centralize cursor
#
# Usage:
# Keybinding: { "keys": ["f1"], "command": "centralize" }
#
# Copyright (C) 2017 Oğuzhan Eroğlu <rohanrhu2@gmail.com>
# The MIT License (MIT)
import sublime_plugin
You can’t perform that action at this time.