[QUOTE=Darwin226;36050067]Last question quys.
Why Git over Mercurial?[/QUOTE]
because mercurial is in python
Oh Git.
[img]http://i.imgur.com/mYlup.png[/img]
[QUOTE=Jookia;36050134]Oh Git.
[img]http://i.imgur.com/mYlup.png[/img][/QUOTE]
i see nothing wrong with this screenshot
[editline]22nd May 2012[/editline]
besides your lack of a pretty shell prompt
[QUOTE=_Undefined;36049895]All this talk of command line git, bleh. [url]http://mac.github.com/[/url] for Mac is sexy as fuck, and [url]http://windows.github.com/[/url] is a horrible abomination with Metro UI.[/QUOTE]
Github for Mac has been around for 11 months now, during which time they've added features and redone entire sections of the UI. They released Github for Windows about 15 hours ago. Give them time to take in feedback and fix/tweak the UI. Hell, give them time to implement the things they've said they don't yet support like multiple remotes.
[QUOTE=swift and shift;36050155]i see nothing wrong with this screenshot
[editline]22nd May 2012[/editline]
besides your lack of a pretty shell prompt[/QUOTE]
Git fails at displaying Unicode.
[QUOTE=swift and shift;36050155]pretty shell prompt[/QUOTE]
Isn't that an oxymoron?
[QUOTE=swift and shift;36050117]because mercurial is in python[/QUOTE]
That is the worst argument ever.
[QUOTE=Mr.T;36050250]That is the worst argument ever.[/QUOTE]
Just because it's you I'm going to refute you. Python is more portable.
[QUOTE=Jookia;36050236]Git fails at displaying Unicode.[/QUOTE]
If it failed, it would show ????????.
What it has instead done is display the filename with the correct escape characters, presumably because it thinks you're on a dummy terminal due to screen.
[QUOTE=Lexic;36050263]If it failed, it would show ????????.
What it has instead done is display the filename with the correct escape characters, presumably because it thinks you're on a dummy terminal due to screen.[/QUOTE]
It happens without my terminal multiplexer.
[QUOTE=Jookia;36050269]It happens without my terminal multiplexer.[/QUOTE]
Either way, it's at least aware the unicode exists rather than blindly pressing on and assuming it's ASCII.
[QUOTE=Jookia;36050236]Git fails at displaying Unicode.[/QUOTE]
git doesn't make any assumptions about what encoding your filenames are in, it just treats them as binary blobs.
which is the [i]correct[/i] way of doing it, you don't want git fucking up when you use something other than utf-8, or vice versa
[editline]22nd May 2012[/editline]
[QUOTE=Darwin226;36050241]Isn't that an oxymoron?[/QUOTE]
believe it or not, a lot of people like the shell better than guis
It might be vaguely interesting to have a "Post your shell prompt" thread.
[QUOTE=Mr.T;36050250]That is the worst argument ever.[/QUOTE]
After C++, C# and Lua, have you turned to debating this time? Why are you still here?
[QUOTE=swift and shift;36050368]git doesn't make any assumptions about what encoding your filenames are in, it just treats them as binary blobs.
which is the [i]correct[/i] way of doing it, you don't want git fucking up when you use something other than utf-8, or vice versa[/QUOTE]
But my file names [i]are[/i] UTF-8. I'm not asking for much, just that it prints the filename to my terminal, regardless of how fucked up it is.
[QUOTE=Jookia;36050524]But my file names [i]are[/i] UTF-8. I'm not asking for much, just that it prints the filename to my terminal, regardless of how fucked up it is.[/QUOTE]
[URL="https://github.com/git/git"]best get crackin'[/URL]
[QUOTE=Jookia;36050524]But my file names [i]are[/i] UTF-8. I'm not asking for much, just that it prints the filename to my terminal, regardless of how fucked up it is.[/QUOTE]
ok what if someone has windows-1252, UTF-16 or maybe even Shit-JIS filenames?
what happens then? do they just have to put up with their git breaking?
[QUOTE=swift and shift;36050600]ok what if someone has windows-1252, UTF-16 or maybe even Shit-JIS filenames?
what happens then? do they just have to put up with their git breaking?[/QUOTE]
Print the bytes. Just output them to the terminal.
[QUOTE=Jookia;36050624]Print the bytes. Just output them to the terminal.[/QUOTE]
what do you do about homoglyphs or nasty escape chars
[QUOTE=Jookia;36050134]Oh Git.
[img]http://i.imgur.com/mYlup.png[/img][/QUOTE]
[code]
git config --global core.quotepath off
[/code]
[img]http://img109.imageshack.us/img109/7583/20120522034330.png[/img]
I should note you'll also need a unicode terminal font, like dejavu sans mono, in order to see the actual filenames. Although seeing as you're such an advocate for utf-8 you probably already have that!
[QUOTE=HeroicPillow;36050668][code]
git config --global core.quotepath off
[/code]
[img]http://img109.imageshack.us/img109/7583/20120522034330.png[/img]
I should note you'll also need a unicode terminal font, like dejavu sans mono, in order to see the actual filenames. Although seeing as you're such an advocate for utf-8 you probably already have that![/QUOTE]
[media]http://www.youtube.com/watch?v=P3ALwKeSEYs[/media]
For the past few days I've been working on a project in coffeescript that basically tries every attack in the book against a machine. At the moment it can be seen in logs loud and proud, but it's quite effective regardless of how noisy it is. Currently it only works against routers by leveraging various vulnerabilities. For example many 2wire modems have a reset password page that is available to users that are logged out etc. It also bruteforces the passwords using the most used passwords as well as passwords from a list of default router credentials. I've written a cool and easy to use API for it so if I wanted I could write a web front end pretty easily.
[code]
lucifer = require './lib/main'
# Target Parsed #
lucifer.on 'target add', (data) ->
# Target Scan Started #
lucifer.on 'target start', (data) ->
# Target Scan Finished #
lucifer.on 'target finish', (data) ->
# Plugin report port open #
lucifer.on 'port open', (data) ->
# Plugin report port closed #
lucifer.on 'port closed', (data) ->
# Plugin report port timed out #
lucifer.on 'port timeout', (data) ->
# Plugin failed to find anything of value #
lucifer.on 'plugin failed', (data) ->
# Plugin reported it found something interesting #
lucifer.on 'plugin interesting', (data) ->
# Plugin has leveraged credentials #
lucifer.on 'plugin credentials', (data) ->
lucifer.scan process.argv.slice 2
[/code]
Next step is adding in web app vulnerabilities!
[img]http://puu.sh/w7H9[/img]
Welcome back CJ.
Right now it looks through every object in the whole of San Andreas [i]every frame[/i] to find which to draw, and although I still get a solid 60 FPS I may as well make a spatially partitioned structure to store / query them from. Also I need to do depth sorting for stuff that has transparency.
But at least the alpha masking bug is mostly fixed.
[QUOTE=Ziks;36051254][img]http://puu.sh/w7H9[/img]
Welcome back CJ.
Right now it looks through every object in the whole of San Andreas [i]every frame[/i] to find which to draw, and although I still get a solid 60 FPS I may as well make a spatially partitioned structure to store / query them from. Also I need to do depth sorting for stuff that has transparency.
But at least the alpha masking bug is mostly fixed.[/QUOTE]
I feel the desire to start playing GTA:SA again
[QUOTE=Overv;36050454]After C++, C# and Lua, have you turned to debating this time? Why are you still here?[/QUOTE]
Although I language-jump alot it does not mean that I do not know [I]programming[/I] itself, I might not be very good at it nor clever at it but I know a fair share of it which is why I argued against him when he said Mercurial is bad because it is in Python.
Has anybody written a roguelike map generator in C#... If so could you please share some source?
[QUOTE=Mr.T;36051304]Although I language-jump alot it does not mean that I do not know [I]programming[/I] itself, I might not be very good at it nor clever at it but I know a fair share of it which is why I argued against him when he said Mercurial is bad because it is in Python.[/QUOTE]
[img]http://4.bp.blogspot.com/_D_Z-D2tzi14/S8TRIo4br3I/AAAAAAAACv4/Zh7_GcMlRKo/s400/ALOT.png[/img]
[QUOTE=Loli;36051348]Has anybody written a roguelike map generator in C#... If so could you please share some source?[/QUOTE]
[url]https://www.assembla.com/code/lewtrpg/subversion/nodes/trunk/LewtShared/World?rev=182[/url]
Chunk based dungeon generation, I guess you could modify it to use procedurally generated chunks instead of prefabricated ones.
[QUOTE=Jelly;36050888]For the past few days I've been working on a project in coffeescript that basically tries every attack in the book against a machine. At the moment it can be seen in logs loud and proud, but it's quite effective regardless of how noisy it is. Currently it only works against routers by leveraging various vulnerabilities. For example many 2wire modems have a reset password page that is available to users that are logged out etc. It also bruteforces the passwords using the most used passwords as well as passwords from a list of default router credentials. I've written a cool and easy to use API for it so if I wanted I could write a web front end pretty easily.
[code]
lucifer = require './lib/main'
# Target Parsed #
lucifer.on 'target add', (data) ->
# Target Scan Started #
lucifer.on 'target start', (data) ->
# Target Scan Finished #
lucifer.on 'target finish', (data) ->
# Plugin report port open #
lucifer.on 'port open', (data) ->
# Plugin report port closed #
lucifer.on 'port closed', (data) ->
# Plugin report port timed out #
lucifer.on 'port timeout', (data) ->
# Plugin failed to find anything of value #
lucifer.on 'plugin failed', (data) ->
# Plugin reported it found something interesting #
lucifer.on 'plugin interesting', (data) ->
# Plugin has leveraged credentials #
lucifer.on 'plugin credentials', (data) ->
lucifer.scan process.argv.slice 2
[/code]
Next step is adding in web app vulnerabilities![/QUOTE]
I've always wanted to know if my router is secure. Would you mind sharing the program or, if you think I'll miss-use it, tell me how I can check myself?
[QUOTE=jalb;36042404]Even that could cause ambiguities. The problem here is that if someone uses my .h and I'm doing a "using std::map," then somewhere down the road someone wants to write their own map class in their own namespace, they would be [b]forced[/b] to use the TheirNamespace::map (or using TheirNamespace::map) because otherwise C++ wouldn't know to use their namespace or std.[/QUOTE]
[cpp]
namespace MyProject
{
using std::string;
}
[/cpp]
Sorry, you need to Log In to post a reply to this thread.