This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function splitfile() { | |
| TRACK_NAME=$(basename -s .mp3 "$1") | |
| ffmpeg -i "${TRACK_NAME}.mp3" -f segment -segment_time 600 -c copy "out/${TRACK_NAME}-%02d.mp3" | |
| } | |
| mkdir out | |
| export -f splitfile | |
| find *.mp3 -exec bash -c "splitfile \"{}\"" \; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| a = document.querySelectorAll(".mcnTextContent, .mcnImageContent, .mcnCaptionBottomImageContent, .mcnImageGroupContent"); | |
| db = document.getElementById("archivebody"); | |
| db.innerHTML = ""; | |
| for (i = 0; i< a.length; i++) {db.innerHTML += a[i].innerHTML + "<br>";} | |
| b = document.querySelectorAll("h1, h2, h3"); | |
| for (i = 0; i< b.length; i++) {b[i].removeAttribute("style");} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function generateWeeklyPlan() { | |
| var spreadsheet = SpreadsheetApp.getActiveSpreadsheet(); | |
| var sh = spreadsheet.getSheetByName("Plan") | |
| // Get the count of entries in the recipe list | |
| var max = sh.getRange(1,1).getValue() | |
| var used = [] | |
| for (var i = 0; i < 7; i = i + 1) { | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # verify what's going to be removed | |
| apt list "libreoffice6.4*" "libobasis6.4*" | |
| # actually remove it | |
| sudo apt-get remove "libreoffice6.4*" "libobasis6.4*" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Sub Macro2() | |
| 'Enable diagram services | |
| Dim DiagramServices As Integer | |
| DiagramServices = ActiveDocument.DiagramServicesEnabled | |
| ActiveDocument.DiagramServicesEnabled = visServiceVersion140 + visServiceVersion150 | |
| Application.Windows.ItemEx("Drawing3").Activate | |
| Dim s As Shape |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| username ALL=NOPASSWD : /usr/sbin/rtcwake * , /bin/date * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| adb devices (and check if the phone is connected) | |
| adb shell | |
| pm uninstall -k --user 0 com.emoji.keyboard.touchpal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <plugin> | |
| <groupId>com.zenjava</groupId> | |
| <artifactId>javafx-maven-plugin</artifactId> | |
| <version>8.8.3</version> | |
| <configuration> | |
| <mainClass>com.bro1.podcastvideo.PodcastVideoApp</mainClass> | |
| </configuration> | |
| </plugin> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # BEGIN WordPress | |
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteBase /mysite/ | |
| RewriteRule ^index\.php$ - [L] | |
| RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| RewriteRule . /mysite/index.php [L] | |
| </IfModule> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ^(\s+)(.*assert.*)$ | |
| $1kLogger.info\("$2"\);\n$0 |
NewerOlder