Skip to content

Instantly share code, notes, and snippets.

View isgursoy's full-sized avatar

isgursoy

  • Istanbul
View GitHub Profile
[General]
ThemeName=isgursoy-dark
PreferredStyles=
DefaultTextEditorColorScheme=dark.xml
EnforceAccentColorOnMacOS=selectedBackground
[Palette]
shadowBackground=ff232323
text=slateGrey
textDisabled=7fffffff
@isgursoy
isgursoy / gist:53ca5ce3f5c0be2a31d2aa2fabec5d35
Created November 23, 2023 08:22
inkpot_indoor_dark.xml
<?xml version="1.0" encoding="UTF-8"?>
<style-scheme version="1.0" name="Indoor">
<style name="Text" foreground="#cfbfad" background="#000000" underlineColor="#f9f06b"/>
<style name="Link" foreground="#409090"/>
<style name="Selection" foreground="#ffffff" background="#4e4e8f"/>
<style name="LineNumber" foreground="#77767b" background="#000000"/>
<style name="SearchResult" foreground="#000000" background="#ffef0b"/>
<style name="SearchResultAlt1" foreground="#000000" background="#6464ff"/>
<style name="SearchResultAlt2" foreground="#000000" background="#ff6464"/>
<style name="SearchResultContainingFunction"/>
@isgursoy
isgursoy / discordSync
Last active May 23, 2024 11:04
discordSync
{"mutedServers":{},"mutedChannels":{},"lastRead":{},"lastSync":"2024-05-23T11:04:15.434Z"}
@isgursoy
isgursoy / tabnineBinPathQuery.py
Created September 12, 2019 01:54
TabNine Bin Path Query
import os
import sys
def parse_semver(s):
try:
return [int(x) for x in s.split('.')]
except ValueError:
return []
def main():
translation = {
@isgursoy
isgursoy / intel-nvidia.md
Created August 3, 2019 14:47 — forked from wangruohui/intel-nvidia.md
Intel for display, Nvidia for computing

Intel for display, NVIDIA for computing

This guide will show you how to use Intel graphics for rendering display and NVIDIA graphics for CUDA computing on Ubuntu 18.04 desktop.

I made this work on an ordinary gaming PC with two graphics devices, an Intel UHD Graphics 630 plus an NVIDIA GeForce GTX 1080 Ti. Both of them can be shown via lspci | grep VGA.

00:02.0 VGA compatible controller: Intel Corporation Device 3e92
01:00.0 VGA compatible controller: NVIDIA Corporation GP102 [GeForce GTX 1080 Ti] (rev a1)