A lot of us already know the excellent https://openclassrooms.com/fr/
If ever you try to make a table with a single <td> matching more than one line using rowspan, your css that was using nth-child to customize each column is working badly. Only the first line of each rowspan is correctly recognized by the nth-child. All other lines are all shifted by one.
That’s because the css engine is not taking in accound the rowspan attribute.
In my case it was to add all the <td> hidden by the rowspan like <td style=”display:none”> so they are here for the css engine to count properly, but not displayed at all.
Tip: use a regexp so the grep is not matching the line where is sits in ps list:
ps -aef | grep "[m]atchingexp" will match anything starting with letter ‘m’ and followed by ‘
atchingexp‘ , which will not be in the ps list as it will contain the  around the first letter of your match
grep -color is not producing color symbols if it detects that the output is not a terminal.
grep -color=auto is doing the same, that is not producing color symbols if it detects that the output is not a terminal.
The solution is to use “grep -color=always“ in the place that need it.
Do not put it in an alias of grep as it would break some code somewhere else. Color symbols are strings like “ESC[35m” and they will be inserted in the text.
I had some luck with Orion tonight, before the mist and the cold fell down in the night.
The second photo is a piece of Perseus. I should have zoomed less. I did not have the time to adjust because of the mist.
KrampusHack is a Secret Santa game jam. This means that participants secretly make a game for someone else, suited to their wishes.
Here is a video of all 9 finisher entries. Have fun 🙂
In case you’re trying to search recursively for a specific file type and data mask, grep -r is not enough to bring the desired result.
You’ll have to use –include ‘type’ and then, even if the directory does not contain any of the given filetype in root, it’s still working.
grep -r --include '*.extension' 'Text to match' directory grep -r --include '*.cpp' 'Audio' .
- I’ve build an up to date firmware with the last updates from next and the last version from search app and freqman enhancements.
- The Search app is in the ‘receive’ menu
- The documentation is here : https://github.com/GullCode/portapack-mayhem/wiki/Search
- -Freqman now do understand freq files with that format:
f=468000000 f=468000000,d=Single Freq f=468000000,m=AM,d=Single Freq AM f=468000000,m=NFM,d=Single Freq NFM f=468000000,m=WFM,d=Single Freq WFM f=468000000,m=AM,b=DSB,d=Single Freq AM DSB f=468000000,m=AM,b=USB,d=Single Freq AM USB f=468000000,m=AM,b=LSB,d=Single Freq AM LSB a=87000000,b=110000000 a=87000000,b=110000000,m=AM,s=100KHz,d=AM radio search a=87000000,b=110000000,m=AM,b=DSB,s=250KHz,d=AM radio search LSB a=87000000,b=110000000,m=WFM,b=16k,s=50KHz,d=WFM radio search s=50KHz r=430150000,t=430550000 r=430150000,t=430550000,d=HAM radio r=430150000,t=430550000,m=AM,b=DSB,d=HAM radio
- The freqman GUI have note been improved and may show partial results on new formatted lines
- Description of the fields:
f=freq for one frequency or a=start_frequency,b=end_frequency for a range
- All fields except ‘f=freq’ or ‘a=freqA,b=freqB’ are mandatory. If nothing specified actual value is used.
- As a reminder :
-Most of the time if the Search app is not working as you expected it’s coming from a SDCARD problem.
-You need a SDCARD for the Search app to save settings between runs and between settings menu / main gui, and you need a SEARCH folder at the root of it.
-Don’t forget to check that by default the ‘input: load’ fields in ‘search app -> params -> more ‘ are all checked.
-You HAVE to click save in ordre to save the settings.
When enabling SAST in a gitlab project you can have that kind of error at the tests part:
The yaml provided is not containing the needed part:
artifacts: name: sast paths: - gl-sast-report.json reports: sast: gl-sast-report.json when: always
I did it using the JQ command line tool from https://stedolan.github.io/jq/
Exemple: list all json files from current directory and print the difference with updated jsons from updated/ directory
for user in `ls updated-users` do # print file name echo $user # simple diff <(jq -S . users/$user) <(jq -S . updated-users/$user) # or full on one side and the diff on the other side # diff -y --left-column <(jq -S . users/$user) <(jq -S . updated-users/$user) # or full on one side and the diff on the other side, colored # diff -y --left-column --color <(jq -S . users/$user) <(jq -S . updated-users/$user) done
#shell #diff #json #script
I made a Zelda II alike world with a big map on top view and some dungeons in side view. Permanent world, only the monsters are reset between dungeons / starts.
The limit was way overdue before I could do all I wanted so I’m linking both version here, the entry for the compo and the updated / finalised one.
Compo rules: https://tins.amarillion.org/krampu21/rules/
Gameplay demo :
How to play:
- You are Kwink. You have to save princess Khelda which is kept prisonner by an Ogre
- You directly start on the main map. Move around and kill some simple monsters to gain a bit of XP/Life before trying yourself at the dungeons.
- Each dungeons is guarded by a lot of mobs. Killing them is up to you. Leveling up before being traped in a dungeon is recommended
- Find all the 3 key fragments before going onto the last dungeon. Deliver princess Khelda by defeating the last mob
- Esc: quit
- Arrow keys: move, go up/down or jump/crouch
- CTRL/LeftMouseButton: attack
- F1 -> F4t: change weapon (Wood stick, sword, magic bow, magic wand)
- Key PAD PLUS: shield potion
- Key PAD ENTER: health potion
Items to be collected:
- shield (passive, always equiped once found)
- sword of Khelda
- magic ice wand
- infinite arrow bow
- health potion
- shield potion
Obtain: the kiss of the princess one the Ogre is dead !
- Leveling up a bit on easy monsters before trying yourself to a dungeon
- Wandering around and use the map find the sword, the magic wand, the arrow, the shield
- Loot a bit of potions before entering the last dungeon
- configurable log level, example: ./KheldaII.exe -V DEBUG
- cheat: editable player_state.json after first execution
How to build: need gcc on linux and gcc + msys / cygwin on windows
Man that is fucking good. Thanks Mezerg and Emilio !
Mix : Samuel Marchais
#Music #Mezerg #Emilio