Skip to content

Instantly share code, notes, and snippets.

@mahendra0859
mahendra0859 / design-resources-for-developers.md
Created May 11, 2020 02:57
Design Resources For Developers

Design Resources For Developers

A curated list of FREE design & UI resources for developers including stock photos, templates, frameworks, UI Kits, online tools and much much more.

Please read contributing guidelines before submitting new resources.

Table of Contents

@dhh
dhh / linux-setup.sh
Last active May 8, 2024 18:26
linux-setup.sh
# CLI
sudo apt update -y
sudo apt install -y \
git curl \
docker.io docker-buildx \
build-essential pkg-config autoconf bison rustc cargo clang \
libssl-dev libreadline-dev zlib1g-dev libyaml-dev libreadline-dev libncurses5-dev libffi-dev libgdbm-dev libjemalloc2 \
libvips imagemagick libmagickwand-dev mupdf mupdf-tools \
redis-tools sqlite3 libsqlite3-0 libmysqlclient-dev \
rbenv apache2-utils
@devomman
devomman / office-activation.md
Created May 30, 2023 11:01
Office Activation Command by Omman

Office 2021

Method 1: Using my command line

Step 1.1: Open cmd program with administrator rights.

  • First, you need to open cmd in the admin mode, then run all commands below one by one.

Step 1.2: Get into the Office directory in cmd.

  • For x86 and x64
cd /d %ProgramFiles(x86)%\Microsoft Office\Office16
cd /d %ProgramFiles%\Microsoft Office\Office16
@girorme
girorme / worker-pool.go
Last active May 8, 2024 18:24
worker pool using go channels + waitGroup
package main
import (
"flag"
"fmt"
"net/http"
"sync"
"threadsync/httpclient"
"time"
)
@nullenc0de
nullenc0de / content_discovery_nullenc0de.txt
Last active May 8, 2024 18:22
content_discovery_nullenc0de.txt
This file has been truncated, but you can view the full file.
/
$$$lang-translate.service.js.aspx
$367-Million-Merger-Blocked.html
$defaultnav
${idfwbonavigation}.xml
$_news.php
$search2
£º
.0
@MuhammadSaim
MuhammadSaim / .htaccess
Created February 26, 2021 04:48
Deploy Laravel to Cpanel and redirect to public folder with .htaccess. Simple rename the server.php => index.php and create new file .htaccess in the root folder and this code in the .htaccess file.
Options -MultiViews -Indexes
RewriteEngine On
# Handle Authorization Header
@vodik
vodik / SOS.md
Last active May 8, 2024 18:21
_Never_ -Sy when installing!

Once upon a time there was a user that wanted to install firefox.

The user tried to do pacman -S firefox but it didn't work. The all mighty pacman reported that firefox-3.2.4-1.i686.pkg.tar.gz could not be found on his mirror. So the user tried pacman -Sy firefox. It worked and the user rejoiced since he could once again go and troll /h/.

But all was not good. The user had made a grave error!

See, when the user told the almighty pacman to -Sy firefox, pacman did

@kevinthant
kevinthant / recaptcha-form-example.html
Last active May 8, 2024 18:20
ReCaptcha V3 Form Example HTML
<form data-recapture-key=”YOUR_SITE_KEY” method=”POST”>
<input type=”text” name=”full-name” placeholder=”Enter your full name” maxlength=”50” required />
<input type=”email” name=”email” placeholder=”Enter your email” required />
<textarea name=”message” placeholder=”Enter your message” required>
</textarea>
<button>Submit</button>
<input type=”hidden” name=”recapture_token” />
</form>
<script type=”text/javascript” src=”https://www.google.com/recaptcha/api.js?render=[YOUR_SITE_KEY]”></script>
@willurd
willurd / web-servers.md
Last active May 8, 2024 18:19
Big list of http static server one-liners

Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.

Discussion on reddit.

Python 2.x

$ python -m SimpleHTTPServer 8000
@johnathanmay
johnathanmay / logitech-mx-master-3-extras-for-linux-with-logiops.md
Last active May 8, 2024 18:17
How to install and configure PixlOne's logid to program Logitech MX Master 3 buttons on Linux.

Logitech MX Master 3 Extras for Linux With logiops

The Logitech Options program isn't available for Linux, but by a nice guy on GitHub (PixlOne) created an open source project that lets you obtain some of that functionality. It's called logiops. It works in conjunction with the Solaar project as well, which I find especially handy since that shows your available battery life in the system tray and lets you pair/unpair devices with the Logitech Unifying Receiver.

Here are some additional pages with info that I used to generate this documentation: