Skip to content

Instantly share code, notes, and snippets.

View dbaspider's full-sized avatar

dbaspider dbaspider

View GitHub Profile
@AveYo
AveYo / .. MediaCreationTool.bat ..md
Last active November 5, 2025 04:45
Universal MediaCreationTool wrapper for all MCT Windows 10 versions - MOVED TO github.com/AveYo/MediaCreationTool.bat
@oliveratgithub
oliveratgithub / autoexec.cfg
Last active March 27, 2025 02:16
ioQuake3 – custom high definition configurations for best visual quality (Quake 3, Quake III Arena). This config file is featured on https://swissmacuser.ch/how-you-want-to-run-quake-iii-arena-in-2018-with-high-definition-graphics-120-fps-on-5k-resolution/
seta r_mode "-1"
seta r_customwidth "5120"
seta r_customheight "2880"
seta cg_fov "115"
seta cg_gunCorrectFOV "1"
seta cl_renderer "opengl2"
seta r_allowSoftwareGL "0"
seta r_ignoreGLErrors "1"
seta r_smp "1"
seta r_displayrefresh "0"
@martinomburajr
martinomburajr / java-simple-server.java
Last active May 1, 2021 16:18
This is a simple server written in Java! Use Netcat or Telnet to connect to it!
import java.io.*;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.Scanner;
/**
* Written by Martin Ombura Jr. <@martinomburajr>
*/
public class MyServer {
public static void main(String[] args) {
@denisviana
denisviana / CustomViewPager.java
Last active December 16, 2020 11:30
ViewPager with option to enable/disable swipe
package br.net.ouroverde.agendamentoleves.utils;
import android.content.Context;
import android.content.res.TypedArray;
import android.support.v4.view.ViewPager;
import android.util.AttributeSet;
import android.view.MotionEvent;
import br.net.ouroverde.agendamentoleves.R;
anonymous
anonymous / Javascript the definitive guide.md
Created July 8, 2017 05:24
Javascript the definitive guide

File: Download Javascript the definitive guidejavascript the definitive guide 7th edition javascript the definitive guide 2016 david flanagan javascript 7th javascript the definitive guide 6th edition epub javascript the definitive guide 8th edition javascript the definitive guide 8th edition pdf download javascript the definitive guide 8th edition pdf javascript the definitive guide amazon   JavaScript has 2227 ratings and 82 reviews. Rami said: ugh. This book was suggested by the reddit popular How to learn javascript properly program as ebooks- - Books to broaden my understanding of the vastly amazing world of programming I guess, rofl. Contribute to Julia-Tutorial-2 development by creating an account on GitHub. Chapter 1. Introduction to JavaScript JavaScript

## install
[說明網址](https://kafka.apache.org/quickstart)
[下載網址](https://kafka.apache.org/downloads)
* 安裝步驟
* 下載
* wget http://ftp.mirror.tw/pub/apache/kafka/0.10.2.0/kafka_2.11-0.10.2.0.tgz
* tar -xzf kafka_2.11-0.10.2.0.tgz
* cd kafka_2.11-0.10.2.0.tgz
@simonewebdesign
simonewebdesign / install-quake3.sh
Last active November 14, 2023 19:25
Install Quake 3: Arena on a mac
#!/bin/bash
# Install Quake 3: Arena on a mac
# Copyright (c) 2016 simonewebdesign
# Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
# The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
@wavezhang
wavezhang / java_download.sh
Last active November 11, 2025 08:15
download java from oracle without login
wget -c --no-cookies --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" https://download.oracle.com/otn-pub/java/jdk/12.0.2+10/e482c34c86bd4bf8b56c0b35558996b9/jdk-12.0.2_linux-x64_bin.tar.gz
@filipefigcorreia
filipefigcorreia / kafka-cheat-sheet.md
Last active October 28, 2025 20:11
Apache Kafka Cheat Sheet

Kafka Topics

List existing topics

bin/kafka-topics.sh --zookeeper localhost:2181 --list

Purge a topic

bin/kafka-topics.sh --zookeeper localhost:2181 --alter --topic mytopic --config retention.ms=1000

... wait a minute ...

bin/kafka-topics.sh --zookeeper localhost:2181 --alter --topic mytopic --delete-config retention.ms

@absynce
absynce / SetChromeUpdates.ps1
Created May 19, 2015 21:06
Enable or disable Chrome updates in Windows via the registry - replaces https://gist.github.com/absynce/c35b93e27ababbeb9063
# *******************************************
#
# Mod by: Jared M. Smith
# Mod on: 2015.04.xx
# Mod y?: Enable or disable Google Chrome updates.
#
# *******************************************
# Log method
if (! (test-path function:Log)) { function Log { Param([string]$message) Write-Host $message; } }