Skip to content

Instantly share code, notes, and snippets.

View codxse's full-sized avatar
🐲
Shenlong

Nadiar AS codxse

🐲
Shenlong
View GitHub Profile
@codxse
codxse / setting.json
Created August 12, 2025 16:45
Nadiar's vscode user setting
{
"kilo-code.allowedCommands": [
"npm test",
"npm install",
"tsc",
"git log",
"git diff",
"git show",
"npm"
],
@codxse
codxse / vscode.json
Created August 12, 2025 16:44
Nadiar's vscode keyboard shortcut
// Override key bindings by placing them into your key bindings file.
[
{ "key": "escape escape", "command": "workbench.action.exitZenMode",
"when": "inZenMode" },
{ "key": "shift+escape", "command": "closeReferenceSearch",
"when": "inReferenceSearchEditor && !config.editor.stablePeek" },
{ "key": "escape", "command": "closeReferenceSearch",
"when": "inReferenceSearchEditor && !config.editor.stablePeek" },
{ "key": "shift+escape", "command": "editor.action.inlineSuggest.hide",
"when": "inInlineEditsPreviewEditor" },
set -g mouse on
set-option -g history-limit 5000
set -g base-index 1
setw -g pane-base-index 1
set -g renumber-windows on
bind | split-window -hc "#{pane_current_path}"
bind - split-window -vc "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"
setw -g mode-keys vi
/** RELATED POSTS **/
#jp-relatedposts {
width: 500px;
}
#jp-relatedposts .jp-relatedposts-list .jp-relatedposts-post img.jp-relatedposts-post-img {
border-radius: 8px;
border: 1px solid var(--border-color-main);
}
@codxse
codxse / quotation.html
Last active August 19, 2021 07:28
quotation.html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>A Basic HTML5 Template</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
@codxse
codxse / phone_provider.dart
Created January 24, 2020 05:44
phone_provider.dart
const OPERATORS = {
"0812": "telkomsel",
"0813": "telkomsel",
"0821": "telkomsel",
"0822": "telkomsel",
"0852": "telkomsel",
"0853": "telkomsel",
"0823": "telkomsel",
"0851": "telkomsel",
# Create Flutter Biolerplage app
# ===============================
flutter create <app name>
# Example:
# flutter create hello_rectangle
## Release app
@codxse
codxse / gist:cf6ab4fd1391d105513cc5d03cdd8d75
Created February 2, 2019 09:14 — forked from mwolff44/gist:abfc7848e5cfa35b8c6a
remove jetpack unwanted css - Wordpress
<?php
/*
MU Plugin: remove-jetpack-css
Plugin Name: WP Remove Jetpack CSS
Plugin URI: http://www.blog-des-telecoms.com
Description: Remove jetpack CSS
Version: 1.0
Author: Mathias WOLFF
Author URI: http://www.mathias-wolff.fr
License: GPLv3
@codxse
codxse / receive.py
Created December 4, 2018 12:21
RabitMQ
#!/usr/bin/env python
import pika, os
url = os.environ.get('CLOUDAMQP_URL', 'amqp://zrutdujz:[email protected]/zrutdujz')
params = pika.URLParameters(url)
connection = pika.BlockingConnection(params)
channel = connection.channel()
@codxse
codxse / send.py
Created December 4, 2018 12:13
rabbitMQ Python
#!/usr/bin/env python
import pika, os
url = os.environ.get('CLOUDAMQP_URL', 'amqp://zrutdujz:[email protected]/zrutdujz')
params = pika.URLParameters(url)
connection = pika.BlockingConnection(params)
channel = connection.channel()