SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 Re: Off Topic / General Chat » Looks Like Someone's Beat the Community in Pushing Out a #! Successor » 2015-02-16 19:19:52

pingu wrote:

Is cerenominal's real life picture under gpl?

AFAIK, corenominal doesn't state what his personal photos are licensed under and they're completely separate from #!, so they're not under the WTFPL or GPL. All of corenominal's images/works are automatically copyrighted no matter what and his site even states "© 2015 Philip Newborough."

IANAL, but I'm pretty sure using someone's face to represent your product without their permission is also illegal in most countries.

#2 Re: Off Topic / General Chat » Looks Like Someone's Beat the Community in Pushing Out a #! Successor » 2015-02-16 17:41:58

intoCB wrote:

The only problem I have with #!++ is that the concept not only goes against Corenominal's express wishes, it also uses his face. An Englishman's face is his own private castle.

In hindsight, a more restrictive license than the WTFPL might have been in order smile

This reply is published under the GPL.

While the name change is legal even though it goes against corenominal's wishes, I highly doubt the logo is.

#3 Re: Off Topic / General Chat » Looks Like Someone's Beat the Community in Pushing Out a #! Successor » 2015-02-16 17:36:06

I appreciate what you're doing, but please change your project's name and logo.

corenominal has been quite clear he doesn't want distributions based on #! to use the CrunchBang name, so please respect his wishes. I honestly think the logo is going a bit too far, too. You're using an image of Philip Newborough himself as the logo for your project and your avatar. It seems pretty obvious you're trying to appear to be corenominal/official successor/version 2.0.

#4 Re: News & Announcements » The end. » 2015-02-06 14:36:42

CrunchBang is the distribution that made me fall in love with Linux.

Thank you for everything you've done; I wish you the best in your future projects, work and life in general.

#5 Tips, Tricks & Scripts » [Script] Generate an IP blocklist for P2P » 2013-04-13 19:37:51

Ragnarok
Replies: 0

I created a simple script today that generates an IP blocklist using the blocklists provided from iblocklist.com
This is useful when using BitTorrent because it prevents you from connecting to some known "bad" IPs if your client supports it.
I believe you can also use this with iptables, though it probably requires some modification.

Features:
Checks if the commands used in the script exist
Backups up the last blocklist you generated before generating a new blocklist
Merges all blocklists into one large blocklist
Easy to add/remove blocklists
Generated blocklist is in the .p2p format
Beautifies the blocklist after it's generated (this option can be disabled through a variable that acts as a pseudo boolean)

Notes:
I suggest changing the blocklist and tmpfldr paths to whatever you prefer before running the script.
Everything is stored inside functions because it's easier for me/you/everyone to debug and play with the script.
I attempted to look into implementing error handling, then realized that bash and error handling simply don't go together. It wouldn't be worth the effort for such a simple script.

FAQ:
Q: What is an IP blocklist?
A: An IP blocklist is a list of IP addresses that you don't want to connect to that can be used with P2P software, though not limited to P2P software

Q: How do I use the blocklist for P2P?
A: Check your BitTorrent client's documentation. The blocklist generated using this script is in the .p2p format

blocklistgen.sh: [Dropbox]blocklistgen.sh
Feedback is welcome. I don't have any intention/motivation to add new features, but I don't mind small, quick changes or fixes.
Feedback is more than welcome on the syntax. This is my first bash script that's more than a few lines. (likely my last)

#!/bin/bash
#======================================================================
# Title: blocklistgen.sh
# Description: Script for downloading and generating an IP blocklist
# Author: Ragnarok (http://crunchbang.org/forums/profile.php?id=13069)
# Date: 2013-04-13
# Version: 0.1
# Usage: $ bash blocklistgen.sh
# Dependencies: bash, coreutils, gzip, wget
#======================================================================


# Save path for the blocklist
blocklist="./blocklist.p2p"
# Directory for storing temporary lists
tmpfldr="/tmp"

# Beautify the blocklist after it is generated
beautify=true

# Disabled. This doesn't work as expected for some reason
#check_for_paths() {
#  if [[ ! -d "$tmpfldr" ]] && [[ ! -r "$tmpfldr" ]] && [[ ! -w "$tmpfldr" ]]; then
#    echo -e "Please make sure " "$tmpfldr" " exists and you have read/write access\nExiting"
#    exit 1
#  fi
#}

# http://wiki.bash-hackers.org/scripting/style
check_for_depends() {
  my_needed_commands="cat gunzip mv rm sed sort wget"

  missing_counter=0
  for needed_command in $my_needed_commands; do
    if ! hash "$needed_command" >/dev/null 2>&1; then
      printf "Command not found in PATH: %s\n" "$needed_command" >&2
      ((missing_counter++))
    fi
  done

  if ((missing_counter > 0)); then
    printf "Minimum %d commands are missing in PATH, aborting\n" "$missing_counter" >&2
    exit 1
  fi
}

backup_blocklist() {
  # Check for and backup blocklist
  echo "Checking for blocklist..."
  if [[ -f "$blocklist" ]]; then
    echo "Backing up blocklist and overwriting old backup if exists..."
    mv -f $blocklist ${blocklist}.old
  fi
}

downloads_lists() {
  # Download blocklists
  # This is where you add/remove blocklists
  # Downloaded lists must follow the following naming format: bl-[zero or more characters].gz
  echo "Downloading lists..."
  wget -q http://list.iblocklist.com/?list=bcoepfyewziejvcqyhqo -O $tmpfldr/bl-iana-reserved.gz
  wget -q http://list.iblocklist.com/?list=bt_ads -O $tmpfldr/bl-ads.gz
  wget -q http://list.iblocklist.com/?list=bt_bogon -O $tmpfldr/bl-bogon.gz
  wget -q http://list.iblocklist.com/?list=bt_dshield -O $tmpfldr/bl-dshield.gz
  wget -q http://list.iblocklist.com/?list=bt_hijacked -O $tmpfldr/bl-hijacked.gz
  wget -q http://list.iblocklist.com/?list=bt_level1 -O $tmpfldr/bl-level1.gz
  wget -q http://list.iblocklist.com/?list=bt_level2 -O $tmpfldr/bl-level2.gz
  wget -q http://list.iblocklist.com/?list=bt_microsoft -O $tmpfldr/bl-microsoft.gz
  wget -q http://list.iblocklist.com/?list=bt_spyware -O $tmpfldr/bl-spyware.gz
  wget -q http://list.iblocklist.com/?list=bt_templist -O $tmpfldr/bl-badpeers.gz
  wget -q http://list.iblocklist.com/?list=ijfqtofzixtwayqovmxn -O $tmpfldr/bl-primary-threats.gz
  wget -q http://list.iblocklist.com/?list=pwqnlynprfgtjbgqoizj -O $tmpfldr/bl-iana-multicast.gz
  echo "Download complete"
}

merge_lists() {
  # Merge blocklists
  echo "Merging lists..."
  cat ${tmpfldr}/bl-*.gz > ${blocklist}.gz
}

decompress_blocklist() {
  # Decompress the gzip archive
  if [[ -f "${blocklist}.gz" ]]; then
    echo "Decompressing..."
    gunzip ${blocklist}.gz
    echo "Blocklist successfully generated"
  else
    echo -e "Unable to find ${blocklist}.gz\nExiting"
    remove_temp
    exit 1
  fi
}

beautify_blocklist () {
  # Cleanup the blocklist
  # This will remove comments, empty lines and sort the list alphabetically
  if $beautify; then
    echo -e "Beautification started\nRemoving comments and blank lines..."
    sed -i -e '/^\#/d' -e '/^$/d' $blocklist
    echo "Sorting alphabetically..."
    sort $blocklist > ${tmpfldr}/blocklist.p2p.tmp && mv -f ${tmpfldr}/blocklist.p2p.tmp $blocklist
    echo "Beautification complete"
  fi
}

remove_temp() {
  # Remove temporary blocklists
  echo "Removing temporary files..."
  rm -f ${tmpfldr}/bl-*.gz
}

check_for_depends
#check_for_paths
backup_blocklist
downloads_lists
merge_lists
decompress_blocklist
remove_temp
beautify_blocklist

echo "Done!"

exit 0

#6 Re: News & Announcements » Updated Waldorf "Testing" images: 20120924 » 2012-09-25 21:36:03

Thanks for the new images! I'll be sure to test it out later once I finish my assignment. I bought some DVD-RWs and flash drives for class that will come in handy wink

Again, thanks for all the time and work you put into #!

#7 Re: Artwork & Screenshots » September 2012 Screenshot Thread » 2012-09-09 02:45:26

I was forced to for my classes.
tZmY1Yg
I just finished setting it up. It took me two days to get everything working and then cleaning it up afterwards.
This is my first time using Windows in half a year and my first time really using Windows 7.
Yep... I still dislike Windows with a passion.

#9 Re: Off Topic / General Chat » What do you do for a living? » 2012-09-02 03:26:34

apm wrote:
Ragnarok wrote:

I'm currently an unemployed part time college student. hmm

apm wrote:

no i am not selling freebsd
my distro is a debiankfreebsd crunchbang like openbox os with the same tweaks as crunchbang well to the level the packages and base kernel let's me that much tweaked

You do realize you're violating the licenses, right? I'm sure you can be fined/sued/punished for this, even if you live in India. You can't just repackage a distribution with your configurations and package selection and sell it roll

See pvsage's post below.

where do you come from the Microsoft lackey land big_smile , if you ever read " GPL 2 " you would understand  how it is completely legal to repackage tweak and sell free software for profit , and yes the license that the people who buy my distro on DVD get is also GPL 2.

You still have to be careful about licenses. It's not like all software is licensed under the GPL.
You also have to be very careful about trademarks and making sure you provide the source for the distribution.

I'm sure there's more to watch out for, but I've never tried to publicly release any of my custom live builds, let alone sell them.

#11 Re: Off Topic / General Chat » What do you do for a living? » 2012-08-30 20:05:33

I'm currently an unemployed part time college student. hmm

apm wrote:

no i am not selling freebsd
my distro is a debiankfreebsd crunchbang like openbox os with the same tweaks as crunchbang well to the level the packages and base kernel let's me that much tweaked

You do realize you're violating the licenses, right? I'm sure you can be fined/sued/punished for this, even if you live in India. You can't just repackage a distribution with your configurations and package selection and sell it roll

See pvsage's post below.

#12 Re: Off Topic / General Chat » what file manager do you use most? » 2012-08-29 19:45:09

PCManFM, though I don't recommend it.
I do most of my file operations through the terminal and mainly use PCManFM to explore my directory structures from a GUI.

Thunar has too many dependencies for me.
SpaceFM isn't included in any of the repositories I use and PCManFM does what I want so I have no need for it. I refuse to compile a file manager or manually update it. I'm already having to compile MPlayer2, SMPlayer, WINE and a couple other minor applications.

#14 Re: Devel: CrunchBang 11 "Waldorf" » /home usage mysteriously shooting up? (solved) » 2012-08-24 23:17:32

pidsley wrote:
pvsage wrote:

What about `cat /home/user/.xsession-errors | less`?

Another alternative, assuming whatever's caused all those errors is still causing errors, is to go ahead and delete it, then restart and try opening the newly-created log.

A little late to the party this time pvsage, I already suggested using less (and he doesn't need cat |, just "less .xsession-errors" works) and ragnarok suggested deleting the file. smile

MarioMaster, try this:

tail -n 100 .xsession-errors

Well, if he couldn't access the file and it's taking up most of his space, yeah, I think he should delete it.
If the error still occurs after a reboot, that's when he should worry and find a way to check the file/remove repeated lines. It's also likely that the log will be smaller after rebooting (with the same error, just repeated less).

Most of the time the errors reported in the xsession error log are harmless.

#15 Re: Devel: CrunchBang 11 "Waldorf" » /home usage mysteriously shooting up? (solved) » 2012-08-24 22:18:03

MarioMaster100 wrote:

Well sudo nano /home/user/.xsession-errors makes nano blink for a while and then guess what it closes...

Lol. It will probably log those errors again. Just delete it and check it the next time you restart your system.

#16 Re: Devel: CrunchBang 11 "Waldorf" » /home usage mysteriously shooting up? (solved) » 2012-08-24 22:04:11

MarioMaster100 wrote:
pidsley wrote:
Awebb wrote:

Stop scripting and use ncdu.

I have to go with Awebb on this one. Try ncdu. You'll get a nice list, with the worst offenders at the top. You can scroll through the list, open directories and see what's in them, delete files or directories right from the UI, all kinds of good stuff.

Wow that is awesome, and the biggest and prime suspect that's 4.5gb is .xsession-errors in my /home/user section. Is that alright to delete?

Something is causing those xession errors. I suggest finding out what by reading the file (It's normally one line that just repeats itself over and over) before deleting it. Yes, it is safe to delete. However, it will be recreated on startup.

#17 Re: Devel: CrunchBang 11 "Waldorf" » /home usage mysteriously shooting up? (solved) » 2012-08-24 21:01:59

Are you certain you're really missing 4GB?
What's the output of

df -h

for your /home partition?

e.g:

Filesystem                                              Size  Used Avail Use% Mounted on
rootfs                                                  6.0G  4.1G  1.6G  72% /
/dev/sda6                                                40G  1.3G   37G   4% /home

Edit: I somehow failed very hard at spelling partition.

#18 Re: Devel: CrunchBang 11 "Waldorf" » /home usage mysteriously shooting up? (solved) » 2012-08-24 20:36:30

Bleachbit is a pretty cool guy, eh?
Automagically cleans your trash and other temp files as long as you select them and doesn't afraid of anything.

*cough* select what you want cleaned and then select analyze *cough**
*cough* you can run it as root, too *cough**

find $HOME -size +204800k

^ Looks for anything larger than 200MB in your home folder and prints a list of those files.

* Actual coughs while I was writing this.

#19 Re: News & Announcements » Updated Waldorf "Testing" images: 20120806 » 2012-08-17 04:23:48

• "For the first time, the CrunchBang builds exceed the 700MiB CD limit. I feel that this is unfortunate, but reaching and exceeding the limit was possibly inevitable. If this something that you would like to comment on, please refer to the existing forum thread: Is it time to drop the 700MiB CD Limit?"

I still use CD-RWs yikes

• "News from the Bike Shed Painting Committee: following an interesting forum debate, Iceweasel makes a return as the default browser, replacing Chromium."

Hmm, normally I would agree that Iceweasel/Firefox is best as the default browser, but after seeing the recent nightlies, I'm not sure what to think anymore. I'm currently running Iceweasel 16.0a2 from the Debian Mozilla team APT repository and it has issues with HTML5. I can't even manage my Mediafire files roll Downloads are now managed through your "Library," the same place your bookmarks and history are managed, which really doesn't "feel" right with the GUI design (may change before final release). Anyway, these are just my opinions and experiences, YMMV.

• "As requested, ClipIt has replaced Parcellite as the default clipboard manager."

The only thing I found that I liked about ClipIt over Parcellite is that it uses your icon themes icon if available.

Things I dislike about Clipit:
1) Doesn't allow me to clear history from the icon context menu.
I have to open "Manage History" and select "Remove All" which I find to be quite vexing when I just want to clear my clipboard to make room for a series of copies so that they are easier to keep track of.
2) Doesn't have the trim white space option.
3) Doesn't correctly copy/paste sometimes.
I'll copy something, go to paste it and it doesn't paste or it pastes weird symbols. (it's in the clipboard/history)

These are just my opinions and experiences. I see nothing wrong with your choices and I'm quite happy with the changes. It's too bad though, I won't be able to try it out for a while. 1. I don't have a free USB to put #! on. 2. I'm busy preparing/setting up my first semester of college and classes start on the 27th hmm

Thanks for all the hard work you put into #!

#23 Re: Artwork & Screenshots » Ragnarok's GIMP Splash » 2012-06-17 08:03:32

^ Yep, I didn't know either until I read damo's thread smile

EDIT:

I was playing around and created another one:
tZWRhdQ
This time the text is centered. GIMP makes it really hard to experiment with text when you can't edit it after cropping the layer >.> I can't get the alignment right if I don't crop it hmm
I'm still not happy with the text and I probably should have made them all caps.

I think I'm done for a while. wink

#24 Re: Artwork & Screenshots » Ragnarok's GIMP Splash » 2012-06-17 07:57:31

damo wrote:

^ Clean and simple smile

One point I have is that I think it would look better if the text below "GIMP" was the same width. Maybe play with the font size and kerning?

Keep 'em coming smile

I didn't even know GIMP had a kerning option yikes Thanks for letting me know smile

I played with it a bit and this was the result:
tZWRhaA
What's different in this image:
I recreated it from scratch since GIMP is evil when it comes to text.
Changed the background color from blue to orange
I reduced the height five pixels.
I increased the kerning on GIMP to try and match the width of G.I.M.P. (bottom text)
GIMP and G.I.M.P. are the same distance apart from the left border of the image.
G.I.M.P. text increased by 2 pixels (12 -> 14)
I increased the kerning of GIMP to try and make it the same
Removed/forgot to add a border around the image.
Drop shadow and inner shading are slightly different.
Added a drop shadow to G.I.M.P.

Things I'm not happy with about the above image:
I kept both GIMP and the G.I.M.P. text below it even against the left border, though I think that was a bad idea. I think it would have been better if I moved G.I.M.P. right a little more tongue

I think it looks better without the inner shading. Makes the letters pop out more on the darker colors.

I'm not sure how I feel about having the texts have the same width. I think it would look good if they were centered, but having it in the left corner makes it look odd imo.

Font used for G.I.M.P. I think I should make it bold and experiment with kerning.


I'll experiment a bit more later.

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo