iscrow 's Library tagged → View Popular
Xrandr detects resolution on monitor wrong - Ubuntu Forums
Here's how you can add additional resolutions besides the one xrandr detects from a display.
-
Re: Xrandr detects resolution on monitor wrong
<!-- / icon and title -->
<!-- message -->
use cvt to find the thing to put into new mode, ex cvt 1920 1080
Youll get a output likeyou@ll be interested in this
Code:
# 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
Modeline "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsyncYoull do
Code:
173.00 1920 2048 2248 2576 1080 1083 1088 1120
then youll have to do
Code:
xrandr --newmode name 173.00 1920 2048 2248 2576 1080 1083 1088 1120
(if it is to TMDS-1 youll add this mode...
Code:
xrandr --addmode TMDS-1 name
Now youll have this new mode "name" for TMDS-1. Hope this points you in the right direction! -
Re: Xrandr detects resolution on monitor wrong
<!-- / icon and title -->
<!-- message -->
use cvt to find the thing to put into new mode, ex cvt 1920 1080
Youll get a output likeyou@ll be interested in this
Code:
# 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
Modeline "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsyncYoull do
Code:
173.00 1920 2048 2248 2576 1080 1083 1088 1120
then youll have to do
Code:
xrandr --newmode name 173.00 1920 2048 2248 2576 1080 1083 1088 1120
(if it is to TMDS-1 youll add this mode...
Code:
xrandr --addmode TMDS-1 name
Now youll have this new mode "name" for TMDS-1. Hope this points you in the right direction!
Bjoerns Homepage » Blog Archive » OpenWRT hotspot + bridged OpenVPN + roaming
With this document I want to describe how to set up a hotspot using an accesspoint running with OpenWrt.
Linksys WRT54G Ultimate Hacking
Linksys WRT54G Ultimate Hacking Book
How NAT Works - Cisco Systems
Symetric static and dynamic NAT.
limit bash script memory usage with ulimit
ulimit: "User limits - limit the use of system-wide resources."
Adding a Global Group to the Local Administrators Group
-
There’s a Group Policy, called Restricted Groups, that provides a more elegant method for adding a global group to a local group. The Restricted Groups policy’s name doesn’t describe it very well. Even the Microsoft article at support.microsoft.com/kb/279301 doesn’t quite provide the whole story about Restricted Groups. Let’s look at how you can use Restricted Groups to add a global group to a local group.
You can find this Group Policy under Computer Configuration/Windows Settings/Security Settings/Restricted Groups. Once you’ve navigated to the Group Policy Object (GPO), right-click it and choose Add Group from the context menu. Next, enter the name of the local group on the machine to which you want to add global groups. For our example, you’ll want to add to the local Administrators group. A new window will pop up that lets you add domain users or groups to the local group, which you can do by clicking Add in the Members of this Group section. I recommend referring to Figure A to keep the process straight as to which group goes where.
Be sure to note which groups are already in the local group that you’re modifying because implementing the Restricted Groups policy will remove all groups and users from the list on the local machine. For example, the Domain Administrators global group is automatically added to the Local Administrators group when a machine is added to the domain. If you forget to add domain administrators to the Restricted Groups policy, domain administrators will be removed from the local Administrators group. At this time, I don’t know of a way to force the GPO to append additional users and groups to the original list; it’s strictly a replace operation. The next time that Group Policy is refreshed on the machine or the machine is rebooted, the list of users and groups in the local Administrators group will be replaced by the list in the Restricted Groups policy.
OpenWrt / dropbear and authorized_keys
Note that the current OpenWRT now expects the authorized_keys file in /etc/dropbear.
-
Note that the current OpenWRT now expects the authorized_keys file in /etc/dropbear. I'm putting this here because when I searched Google for "authorized_keys openwrt", this page came up first. Hopefully the next person to do this will find this updated information.

Of course the current docs also give this information. Oops.
http://wiki.openwrt.org/OpenWrtDocs/Configuration
Special Bash Variables
-
$* Expands to the positional parameters, starting from one. When the expansion occurs within double quotes, it expands to a single word with the value of each parameter separated by the first character of the IFS special variable. $@ Expands to the positional parameters, starting from one. When the expansion occurs within double quotes, each parameter expands to a separate word. $# Expands to the number of positional parameters in decimal. $? Expands to the exit status of the most recently executed foreground pipeline. $- A hyphen expands to the current option flags as specified upon invocation, by the set built-in command, or those set by the shell itself (such as the -i). $$ Expands to the process ID of the shell. $! Expands to the process ID of the most recently executed background (asynchronous) command. $0 Expands to the name of the shell or shell script. $_ The underscore variable is set at shell startup and contains the absolute file name of the shell or script being executed as passed in the argument list. Subsequently, it expands to the last argument to the previous command, after expansion. It is also set to the full pathname of each command executed and placed in the environment exported to that command. When checking mail, this parameter holds the name of the mail file.
Convert Subnetmask from CIDR notation to dot.decimal form « ActiveState Code
conver subnetmask from cidr to dot notation in python
-
#!/usr/bin/env python
import sys
def usage():
print "Call : %s <BitCount>" % sys.argv[0]
print " shows the dotted netmask (i.e %s 24 => 255.255.255.0)" % sys.argv[0]
def calcDottedNetmask(mask):
bits = 0
for i in xrange(32-mask,32):
bits |= (1 << i)
return "%d.%d.%d.%d" % ((bits & 0xff000000) >> 24, (bits & 0xff0000) >> 16, (bits & 0xff00) >> 8 , (bits & 0xff))
if __name__ == "__main__":
if len(sys.argv) > 1 and sys.argv[1].isdigit():
print calcDottedNetmask(int(sys.argv[1]))
else:
usage()
Removing Fixed Pattern Noise photo - Terry Lovejoy photos at pbase.com
Using iris software to remove fixed pattern noise
Best way to copy millions of files between 2 servers - Stack Overflow
box1> cd source_directory; tar cf - . | remsh box2 "cd target_directory; tar xf - "
vlku.com » Django+Eclipse with Code Complete Screencast
set up the Eclipse IDE to do your Python and Django development with PyDev, complete with code complete, jump-to-code functionality and live breakpoints + code replace.
Bash Quoting | Linux Journal
Quoting things in bash is quite simple... until it isn't. I've written scripts where I'd swear 90% of the effort was getting bash to quote things correctly.
Selected Tags
Related Tags
Sponsored Links
Top Contributors
Groups interested in reference
-
Reference for wedding-web
Items: 49 | Visits: 224
Created by: Hexy Hwang
-
Web Design for Organizations (LIS590LWL)
We go through so many websi...
Items: 36 | Visits: 163
Created by: E Barney
Diigo is about better ways to research, share and collaborate on information. Learn more »
Join Diigo

