Skip to content

Instantly share code, notes, and snippets.

@lukeplausin
lukeplausin / transfer_ssm_file.sh
Last active May 13, 2024 15:00
Transfer a file to EC2 SSM instance without using S3 (SSM only)
# This script will explain how to transfer a file to EC2 using SSM ONLY!
# You will need to have permission to run SSM commands on the target machine and have sudo access as well
# Infos
INSTANCE_ID=i-1234567890
FILE_NAME=the_file.tar.gz
# Step 1: Run command on machine to install netcat and dump from port to filename
# < Start session
@ayoubzulfiqar
ayoubzulfiqar / folder_structure.md
Created September 5, 2023 06:12
The Folder Structure for Every Golang Project

Go - The Ultimate Folder Structure

Organizing your Go (Golang) project's folder structure can help improve code readability, maintainability, and scalability. While there is no one-size-fits-all structure, here's a common folder structure for a Go project:

project-root/
    ├── cmd/
    │   ├── your-app-name/
    │   │   ├── main.go         # Application entry point
    │   │   └── ...             # Other application-specific files
! [SYNTAX] https://help.adblockplus.org/hc/en-us/articles/360062733293
/banhkhuc/,/thapcam/,/xoilac/,/90phut/,/vebo/##.box-host.box
/banhkhuc/,/thapcam/,/xoilac/,/90phut/,/vebo/##.vebo-sp.container
/banhkhuc/,/thapcam/,/xoilac/,/90phut/,/vebo/##.mc_padding
/banhkhuc/,/thapcam/,/xoilac/,/90phut/,/vebo/##.to-left
/banhkhuc/,/thapcam/,/xoilac/,/90phut/,/vebo/##.to-right
/banhkhuc/,/thapcam/,/xoilac/,/90phut/,/vebo/##.ft-box,
/banhkhuc/,/thapcam/,/xoilac/,/90phut/,/vebo/##.sidebar-right,
/banhkhuc/,/thapcam/,/xoilac/,/90phut/,/vebo/##.jw-logo.jw-logo-bottom-right.jw-reset

Config files

To configure Zsh for your user’s session, you can use the following files:

  • $ZDOTDIR/.zshenv
  • $ZDOTDIR/.zprofile
  • $ZDOTDIR/.zshrc
  • $ZDOTDIR/.zlogin
  • $ZDOTDIR/.zlogout

By default, Zsh will try to find the user’s configuration files in the $HOME directory. You can change it by setting the environment variable $ZDOTDIR.

@Pusnow
Pusnow / CS 분야 우수 학술대회 목록.csv
Last active May 13, 2024 14:51
CS 분야 우수 학술대회 목록
약자 한국정보과학회 (2020) BK21플러스 IF (2018) KAIST CS (2022) SNU CSE (2024.4) POSTECH CSE (2023.10) 평균 (정규화) 학회명 DBLP Key
AAAI 최우수 4 O O 최우수 1.00 AAAI Conference on Artificial Intelligence (AAAI) conf/aaai
AAMAS 우수 2 0.20 International Joint Conference on Autonomous Agents & Multiagent Systems (AAMAS) conf/atal
ACCV 우수 1 우수 0.25 Asian Conference on Computer Vision (ACCV) conf/accv
ACL 최우수 4 O O 최우수 1.00 Annual Meeting of the Association for Computational Linguistics (ACL) conf/acl
ACL Findings 우수 0.10 Findings of ACL series/findacl
ACSAC 우수 2 우수 0.30 Annual Computer Security Applications Conference (ACSAC) conf/acsac
AIED 우수 0.10 International Conference on Artificial Intelligence in Education (AIED) conf/aied
AISTATS 우수 1 우수 0.25 International Conference on Artificial Intelligence and Statistics (AISTATS) conf/aistats
ANCS 우수 1 우수 0.25 Symposium on Architectures for Networking and Communications Systems (ANCS) conf/ancs
@dehsilvadeveloper
dehsilvadeveloper / 1_using_javascript.md
Created May 13, 2024 14:50
Desestruturando arrays

Desestruturando usando JAVASCRIPT

Recuperar itens de um array e já atribuir eles a variáveis.

// Array
const colors = ['DC143C', '7FFFD4', 'FFD700'];

// Destructuring
const [crimson, aquamarine, gold] = colors;
@sundowndev
sundowndev / GoogleDorking.md
Last active May 13, 2024 14:49
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"
CREATE TABLE users (
id INT AUTO_INCREMENT PRIMARY KEY,
username VARCHAR(255) NOT NULL UNIQUE,
password VARCHAR(255) NOT NULL
);
CREATE TABLE conversations (
id INT AUTO_INCREMENT PRIMARY KEY,
name VARCHAR(255) NOT NULL,
created_at DATETIME DEFAULT CURRENT_TIMESTAMP
@Klerith
Klerith / custom_product_field.dart
Created March 22, 2023 19:35
Pantalla de Producto y Custom Product Field
import 'package:flutter/material.dart';
class CustomProductField extends StatelessWidget {
final bool isTopField; // La idea es que tenga bordes redondeados arriba
final bool isBottomField; // La idea es que tenga bordes redondeados abajo
final String? label;
final String? hint;
final String? errorMessage;
@ryanorsinger
ryanorsinger / installing_anaconda_on_mac.md
Last active May 13, 2024 14:43
Installing Homebrew and Anaconda

Installing Homebrew and Anaconda on a Mac

Install Homebrew

Run the following command on your terminal to install Homebrew. Homebrew is a package manager for Macs and is used to install useful development tools and software.

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Install Anaconda through Homebrew

  1. Run brew install --cask anaconda to install Anaconda