By restoring a recent commit, previous to the ones you want to delete, and then adding the ones you want to recover.
Based on here. Cherry Pick method.
Let's say these are our recent commits:
Number | Hash | Commit Message | Author
#!/bin/sh | |
############################## | |
# For linux only. Usage: | |
# ./compile.sh FILE.c [run] | |
############################## | |
# Check if sdl2 is installed | |
if [[ $(command -v sdl2-config) == "" ]]; then | |
echo "Cant' find sdl2. Exiting..." |
#!/bin/bash | |
# Check if sdl2 is installed | |
if [[ $(command -v sdl2-config) == "" ]]; then | |
echo "Cant' find sdl2. Exiting..." | |
exit 1; | |
fi | |
SDL_FLAGS=$(sdl2-config --cflags --libs) |
// ==UserScript== | |
// @name Remove autodownload shit from moodle | |
// @namespace Violentmonkey Scripts | |
// @match https://yoursite.org/* | |
// @grant none | |
// @version 1.0 | |
// @author Null / r4v10l1 | |
// @description 01/10/2021, 01:23:03 | |
// ==/UserScript== |
// ==UserScript== | |
// @name Hide bar telegram | |
// @namespace Violentmonkey Scripts | |
// @include *.telegram.org/* | |
// @grant GM_addStyle | |
// @run-at document-start | |
// @author r4v10l1 | |
// ==/UserScript== | |
GM_addStyle (` |
By restoring a recent commit, previous to the ones you want to delete, and then adding the ones you want to recover.
Based on here. Cherry Pick method.
Let's say these are our recent commits:
Number | Hash | Commit Message | Author
// ==UserScript== | |
// @name Hide bar telegram | |
// @namespace Violentmonkey Scripts | |
// @include *.telegram.org/* | |
// @grant GM_addStyle | |
// @run-at document-start | |
// @author Null | |
// ==/UserScript== | |
GM_addStyle (` |
GM_addStyle ( ` | |
.element-thing { | |
display: none !important; | |
} | |
` ); |
import re | |
def to_camel_case(text): | |
result = "" | |
first = True | |
if ("-" in text) or ("_" in text): | |
for word in re.findall(r"[a-zA-Z0-9]+", text): | |
if first: | |
result = result + word |
::-webkit-scrollbar { | |
width: 10px; | |
} | |
::-webkit-scrollbar-track { | |
background: #f1f1f1; | |
} | |
::-webkit-scrollbar-thumb { | |
background: #999; |
@font-face { | |
font-family: 'Source Sans Pro'; | |
font-style: normal; | |
font-weight: 400; | |
src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url(https://fonts.gstatic.com/s/sourcesanspro/v10/ODelI1aHBYDBqgeIAH2zlNV_2ngZ8dMf8fLgjYEouxg.woff2) format('woff2'); | |
} | |
body { | |
background: #1c1c1c; | |
color: #C3C3C3; | |
font-family: 'Source Sans Pro', sans-serif; |