Skip to content

Instantly share code, notes, and snippets.

View tyb's full-sized avatar
🤓
I may be slow to respond.

Taha Yavuz Bodur tyb

🤓
I may be slow to respond.
View GitHub Profile
@edysegura
edysegura / angularjs-interceptor.js
Last active May 12, 2023 15:37 — forked from gnomeontherun/angularjs-interceptor.js
[angularjs] How to create an AngularJS HTTP Interceptor
// Intercepting HTTP calls with AngularJS.
angular.module('MyApp', [])
.config(function ($provide, $httpProvider) {
// Intercept http calls.
$provide.factory('MyHttpInterceptor', function ($q) {
return {
// On request success
request: function (config) {
// console.log(config); // Contains the data about the request before it is sent.
@tugrulyatagan
tugrulyatagan / LINUXDERS
Last active June 12, 2024 06:08
Linux Dersleri
ls listeleme yapar
------
ls --help komut hakkında yardım
ls -a (all)herşeyi gizli dosyaları
ls -l (list)detaylı
ls -la birden fazla parametre verilebilir
ls -d dizinleri listeler
[..] karakter dizisi
* bütün karakterler
? tek karakter
@jednano
jednano / gitcom.md
Last active May 31, 2023 08:23
Common git commands in a day-to-day workflow

Git Cheat Sheet

Initial Setup

Create an empty git repo or reinitialize an existing one

git init
@shime
shime / github_secrets.md
Last active April 29, 2023 20:04
Secret Github Features

Taken from Zach Holman's "Git and Github Secrets".

Keyboard Shortcuts

t - quickly jump through files (similar to cmd+T in VI or Text Mate)

w - quickly switch branches

s - search