Skip to content

Instantly share code, notes, and snippets.

View halilertekin's full-sized avatar
🎯
Focusing

Halil Ertekin halilertekin

🎯
Focusing
View GitHub Profile
@halilertekin
halilertekin / Github Webhook Tutorial.md
Created July 30, 2024 08:36 — forked from jagrosh/Github Webhook Tutorial.md
Simple Github -> Discord webhook

Step 1 - Make a Discord Webhook

  1. Find the Discord channel in which you would like to send commits and other updates

  2. In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe! WebhookDiscord

Step 2 - Set up the webhook on Github

  1. Navigate to your repository on Github, and open the Settings Settings
@halilertekin
halilertekin / fish_install.md
Created February 11, 2024 21:56 — forked from gagarine/fish_install.md
Install fish shell on macOS Mojave with brew

Installing Fish shell on MacOS (Intel and M1) using brew

Fish is a smart and user-friendly command line (like bash or zsh). This is how you can instal Fish on MacOS and make your default shell.

Note that you need the https://brew.sh/ package manager installed on your machine.

Install Fish

brew install fish

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

### Keybase proof
I hereby claim:
* I am halilertekin on github.
* I am halilertekin (https://keybase.io/halilertekin) on keybase.
* I have a public key ASCKKrX9WW-WAnrc1oDnQdFFJoV8fCffl1WZ7X_annxlnQo
To claim this, I am signing this object:
### Keybase proof
I hereby claim:
* I am halilertekin on github.
* I am halilertekin (https://keybase.io/halilertekin) on keybase.
* I have a public key ASCKKrX9WW-WAnrc1oDnQdFFJoV8fCffl1WZ7X_annxlnQo
To claim this, I am signing this object:
@halilertekin
halilertekin / _verify-repair-permissions-disk.md
Created January 24, 2018 17:20 — forked from bzerangue/_verify-repair-permissions-disk.md
Mac OS X Utilities via Terminal: (Verify and Repair: Disk Permissions AND Disk / Software Update / TimeMachine)

Verify and Repair Disk Permissions via Terminal (Mac OS X)

Verify Permissions

diskutil verifyPermissions /

Repair Permissions

diskutil repairPermissions /

@halilertekin
halilertekin / gist:3ee1f1d2484a67b2b2fbd75a4ed35a7a
Created October 15, 2016 23:03 — forked from imranity/gist:9246dd195f785cf4783d
How to solve "sudo: no tty present and no askpass program specified" when trying to run a shell from Jenkins
Running shell scripts that have contain sudo commands in them from jenkins might not run as expected. To fix this, follow along
Simple steps:
1. On ubuntu based systems, run " $ sudo visudo "
2. this will open /etc/sudoers file.
3. If your jenkins user is already in that file, then modify to look like this:
jenkins ALL=(ALL) NOPASSWD: ALL
4. save the file by doing Ctrl+O (dont save in tmp file. save in /etc/sudoers, confirm overwrite)
5. Exit by doing Ctrl+X
6. Relaunch your jenkins job
@halilertekin
halilertekin / layout.css
Created February 13, 2016 14:23 — forked from mcknightg/layout.css
Social Network Application CSS
.fa-2x { color: #75858c }
.ds-btn li {
list-style: none;
float: left;
padding: 10px;
}
.ds-btn span{
font-size:90%;
}
.ds-btn li a span {
/**
* 1. http://www.paulirish.com/2012/box-sizing-border-box-ftw/
* http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/
* http://fatihhayrioglu.com/css3-box-sizing-ozelligi/
*
* 2. http://aestheticallyloyal.com/public/optimize-legibility/
*
* 3. http://maxvoltar.com/archive/-webkit-font-smoothing
*
* 4. http://maximilianhoffmann.com/posts/better-font-rendering-on-osx