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
| % llm mlx download-model mlx-community/Codestral-22B-v0.1-4bit | |
| config.json: 100%|█████████████████████████████| 716/716 [00:00<00:00, 6.01MB/s] | |
| convert_mistral_weights_to_hf-22B.py: 11.3kB [00:00, 20.6MB/s]<00:03, 2.51it/s] | |
| model.safetensors.index.json: 111kB [00:00, 45.4MB/s] | 0.00/716 [00:00<?, ?B/s] | |
| special_tokens_map.json: 100%|█████████████████| 414/414 [00:00<00:00, 7.03MB/s] | |
| tokenizer_config.json: 100%|███████████████████| 960/960 [00:00<00:00, 1.65MB/s] | |
| tokenizer.json: 1.82MB [00:00, 18.5MB/s] | 0.00/1.84G [00:00<?, ?B/s] | |
| tokenizer.model: 100%|████████████████████████| 587k/587k [00:01<00:00, 413kB/s] | |
| tokenizer.json: 0.00B [00:00, ?B/s] | |
| model-00003-of-00003.safetensors: 100%|████| 1.84G/1.84G [11:48<00:00, 2.60MB/s] |
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
| jdboyd@jdb-z440:~/tmp/processing4$ ./gradlew packageSnap | |
| > Task :java:preprocessor:ant-preproc | |
| warning(109): /home/jdboyd/tmp/processing4/java/src/processing/mode/java/preproc/JavaParser.g4:47:0: options ignored in imported grammar JavaParser | |
| > Task :app:includeJdk FAILED | |
| [Incubating] Problems report is available at: file:///home/jdboyd/tmp/processing4/.build/reports/problems/problems-report.html | |
| FAILURE: Build failed with an exception. |
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
| scp -J gw:port user@internal:/path/to/source/file /local/destination/path |
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
| Invoke-WebRequest $myDownloadUrl -OutFile .\file.ext |
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
| Get-ChildItem -Path . -Recurse -File | Select-String -Pattern "YourSearchString" | Format-Table Path,LineNumber,Line -AutoSize |
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
| # Example usage: | |
| # . .\UpdateJpegCreationTimes.ps1 | |
| # Update-JpegCreationTimes -FolderPath "C:\Photos" -Recursive -WhatIf | |
| # Remove -WhatIf to actually make the changes | |
| function Convert-StringToDateTime { | |
| param ( | |
| [Parameter(Mandatory=$true)] | |
| [string]$DateTimeString | |
| ) |
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
| jsonObjURL := 'https://api.github.com/repos/squeak-smalltalk/squeak.org/languages'. | |
| respObj := WebClient httpGet: jsonObjURL. | |
| respObj content. '{"TeX":261905,"SCSS":226665,"HTML":20292,"JavaScript":2738,"Ruby":2607}' . | |
| respCont := respObj content. | |
| jO := Json readFrom: (ReadStream on: respCont). | |
| jO at: 'SCSS'. |
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
| $params = @{"@type"="login"; | |
| "username"="[email protected]"; | |
| "password"="yyy"; | |
| } | |
| Invoke-WebRequest -Uri http://foobar.com/endpoint -Method POST -Body $params | |
| Invoke-WebRequest -Uri http://foobar.com/endpoint -Method POST -Body ($params|ConvertTo-Json) -ContentType "application/json" |
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
| import ( | |
| "os" | |
| "os/signal" | |
| ) | |
| func setupExitHandler() { | |
| c := make(chan os.Signal, 1) | |
| signal.Notify(c, os.Interrupt) | |
| go func() { | |
| <-c |
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
| make_ssid.sh goes in /etc/hostapd/ | |
| The service file goes in /etc/systemd/system/ |
NewerOlder