Skip to content

Instantly share code, notes, and snippets.

@gccpacman
gccpacman / gamescope_4_Ubuntu24-04.md
Created March 25, 2025 17:51 — forked from russiantux/gamescope_4_Ubuntu24-04.md
Build & install gamescope for fresh-install Ubuntu 24.04 (Noble Numbat)

Build & install gamescope for fresh-install Ubuntu 24.04 (Noble Numbat)

Due to what appears to be dependency issues, the gamescope package isn't avalible for Ubuntu 24.04. So here's a guide on how to build and install gamescope for Ubuntu 24.04

  1. Pull latest git of gamescope

$ git clone https://github.com/ValveSoftware/gamescope.git

  1. Install needed dependencies to build gamescope

`$ sudo apt install libbenchmark1.8.3 libdisplay-info1 libevdev-dev libgav1-1 libgudev-1.0-dev libmtdev-dev libseat1 libstb0 libwacom-dev libxcb-ewmh2 libxcb-shape0-dev libxcb-xfixes0-dev libxmu-headers libyuv0 libx11-xcb-dev libxres-dev libxmu-dev libseat-dev libinput-dev libxcb-composite0-dev libxcb-ewmh-dev libxcb-icccm4-dev libxcb-res0-dev libcap-dev

#this is a hello world for python
print('hello world.')
# import module
Import-Module PSReadLine
# oh-my-posh
# Import-Module posh-git
# Import-Module oh-my-posh
# Set-Prompt
# Set-Theme Agnoster
# Set-Theme tehrob
@gccpacman
gccpacman / README.md
Created September 2, 2018 16:48 — forked from zhiguangwang/README.md
Installing and running shadowsocks on Ubuntu Server

Installing and running shadowsocks on Ubuntu Server

16.10 yakkety and above

  1. Install the the shadowsocks-libev package from apt repository.

     sudo apt update
     sudo apt install shadowsocks-libev
    
  2. Save ss.json as /etc/shadowsocks-libev/config.json.

### Keybase proof
I hereby claim:
* I am gccpacman on github.
* I am gccpacman (https://keybase.io/gccpacman) on keybase.
* I have a public key ASBUAwG29g2_NdTuWSvP11uUg1Luc0IrYRNH7_bdWKWlZgo
To claim this, I am signing this object:
@gccpacman
gccpacman / clients.md
Created May 12, 2016 15:39 — forked from defunkt/clients.md
A list of Gist clients.

Gist Clients

Want to create a Gist from your editor, the command line, or the Services menu? Here's how.

Editor Support

import os
import hash
# content hah
#what
print(‘hello gist tool’)
@gccpacman
gccpacman / wechat_getappmsgext.py
Created April 29, 2016 14:27 — forked from chen206/wechat_getappmsgext.py
微信公众号文章抓取阅读数和点赞数
# !/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
import json
from urlparse import urlparse, parse_qs
import requests
@gccpacman
gccpacman / test_mongodb.py
Created April 28, 2016 11:44
test mongo db connect
import pymongo
import datetime
client = pymongo.MongoClient("mongodb://localhost/test")
db = client.test_database
post = {
"author": "Mike",
"text": "My first blog post!",
@gccpacman
gccpacman / file
Last active May 4, 2016 14:04
freedom_public
{"0.43516015155176513":"-----BEGIN PGP PUBLIC KEY BLOCK-----\r\nCharset: UTF-8\r\n\r\nxv8AAABSBAAAAAATCCqGSM49AwEHAgMEcpTUP4SlNFgzs/F2E3wvRUUWYIldngQ/\r\ngaph6dr/52jCagYanEKVLeYurTMV5nFBls6SXl5cEgeQ4RHxiFZIQc3/AAAACDxn\r\naXRodWI+wv8AAACNBBATCAA//wAAAAWCVw8mWv8AAAACiwn/AAAACZC8ThRTFmgd\r\nO/8AAAAFlQgJCgv/AAAAA5YBAv8AAAACmwP/AAAAAp4BAAC2ewD/YqzIoSjzioRa\r\nKCJyYS5dygVs0ApogRp3YaGc8AGyAzIBAONjEpStdftge3wCyUgAXH9oG5+t44L7\r\nyiFBs5WBbLn9zv8AAABWBAAAAAASCCqGSM49AwEHAgMEQE9Lu3kk8wpyi1zVL5Ug\r\nQQCN261Fb5dqxQRjWt5oEN+dgpgjiqpPp5+P+/2FfaJK9gvH9tF6Y7udZHZjrLbF\r\n1wMBCAfC/wAAAG0EGBMIAB//AAAABYJXDyZa/wAAAAmQvE4UUxZoHTv/AAAAApsM\r\nAABpSgD/Xt0ZCSTDoOj0GTMBB99Hr6Uz0pvmg51meyFLa/EHAp0BAKQArj2C4PwO\r\nvmxrOqbH9hLU6DIUIRu/XfQamnEZjs4N\r\n=uoZF\r\n-----END PGP PUBLIC KEY BLOCK-----\r\n","0.1714806222637062":"-----BEGIN PGP PUBLIC KEY BLOCK-----\r\nCharset: UTF-8\r\n\r\nxv8AAABSBAAAAAATCCqGSM49AwEHAgMEcpTUP4SlNFgzs/F2E3wvRUUWYIldngQ/\r\ngaph6dr/52jCagYanEKVLeYurTMV5nFBls6SXl5cEgeQ4RHxiFZIQc3/AAAACDxn\r\naXRodWI+wv8AAACNBBATC