In 2023, basically you go to chat.openai.com and type in your problem.
Thats it.
For 95% of People this will be enough, if they could only describe their problem good enough.
Which they cannot.
Still, we will learn.
And while we are learning the crazy implications of rapidly evolving AI, we unemploy ourselfs, in a way.
Content Writing, in its classical sense, is already dead. So is transcribing or translating. Offcoursel, like the FAX or the Telegram Technology resides long over its actual point of technical obsoletion - but we need to accept that the challenges in the future will be to actually find enough work for even the most intelectual viable people.
The work will be taken away from us by AI - and we need to find ways how we still can distribute Income in society in a (not to say that its fair right now) fair manner.
Some Tutorials
Dienstag, 14. März 2023
How to solve almost any small technical problem
Montag, 17. März 2014
Subversion chrashcourse
In your repository..:
svn update
..updates your repo to the newest revision
svn log
see the latest changes and the comments attached to them
now you can edit any file in your repositories directory, if you are finished, save the file and type
svn ci
svn ci is short for svn commit and stands for itself: you want to commit the changes you made.
You will be propted into your console's default editor and may now attach a comment in the section above the -- ignored -- section. Save again to commit your changes.
svn update & svn log
..to view & verify the changes you made.
Adding a new file / removing files from the repository's inventory:
svn add <file>
where <file> is your filename or directory containing files you wish to add to version control, and
svn del <file>
is your file or directory to be removed from version control.
Now..
svn ci
..comment and commit to save the changes you made as always.
Labels:
Bash,
Console,
Git,
Linux,
Repository,
Shell,
Subversion,
svn,
Unix,
Version Control
Dienstag, 11. März 2014
Deleting/removing/revoking a User from a MySQL Database
Depending on the version of MySQL you use, there are different methods of deleting a user.
As of MySQL 5.0.2, you can remove an account and its privileges as follows:
DROP USER user;
If this does not work, try:
DROP USER 'user'@'localhost';
In older versions of MySQL you need to 'revoke' granted priviledges from a user:
REVOKE ALL PRIVILEGES, GRANT OPTION FROM user;
..which drops all global, database, table, column, and routine privileges for the named user.
To see the priviledges granted for a given account simply:
SHOW GRANTS FOR 'user'@'localhost';
Before MySQL 4.1.1, DROP USER is not available. You should first revoke the account privileges using SHOW GRANTS and REVOKE as just described. Then delete the user table row and flush the grant tables as shown here:
DELETE FROM mysql.user WHERE User='user' and Host='localhost';
Update the priviledges with FLUSH:
FLUSH PRIVILEGES;
See https://dev.mysql.com/doc/refman/5.0/en/drop-user.html
and https://dev.mysql.com/doc/refman/4.1/en/drop-user.html for further documentation.
As of MySQL 5.0.2, you can remove an account and its privileges as follows:
DROP USER user;
If this does not work, try:
DROP USER 'user'@'localhost';
In older versions of MySQL you need to 'revoke' granted priviledges from a user:
REVOKE ALL PRIVILEGES, GRANT OPTION FROM user;
..which drops all global, database, table, column, and routine privileges for the named user.
To see the priviledges granted for a given account simply:
SHOW GRANTS FOR 'user'@'localhost';
Before MySQL 4.1.1, DROP USER is not available. You should first revoke the account privileges using SHOW GRANTS and REVOKE as just described. Then delete the user table row and flush the grant tables as shown here:
DELETE FROM mysql.user WHERE User='user' and Host='localhost';
Update the priviledges with FLUSH:
FLUSH PRIVILEGES;
See https://dev.mysql.com/doc/refman/5.0/en/drop-user.html
and https://dev.mysql.com/doc/refman/4.1/en/drop-user.html for further documentation.
Sonntag, 9. März 2014
sudo apt-get install anarchism
From the 'Les Tanneries'-Squat in Dijon, France
$sudo apt-get install anarchism
..installs the 'Anarchism-FAQ' on most debian-based OS
$sudo apt-get install bible-kjv
..on the other hand installs the word of god translated by 'king james' in 1611 ..
Labels:
1611,
anarchism,
Bash,
bible,
bible-kjv,
debian,
dijon,
god,
king james,
les tanneries,
Linux
Donnerstag, 6. März 2014
user@machine:~$ sudo chmod 777 somefile
Examples:
user@machine:~$ touch somefile
user@machine:~$ ls -lh
total 0
-rw-r--r-- 1 user user 0 Mar 7 02:47 somefile
user@machine:~$ sudo chmod 777 somefile
[sudo] password for user:
user@machine:~$ ls -lh
total 0
-rwxrwxrwx 1 user user 0 Mar 7 02:47 somefile
the permissions are mapped as followed:
Owner Group Other(Everyone)
Owner Group Other(Everyone)
read write execute read write execute read write execute
rwx rwx rwx
decimal unix binary
770 -> rwxrwx--- 111 111 000
700 -> rwx------ 111 000 000
110 -> --x--x--- 001 001 000
100 -> --x------ 001 000 000
222 -> -w--w--w- 010 010 010
220 -> -w--w---- 010 010 000
200 -> -w------- 010 000 000
333 -> -wx-wx-wx 011 011 011
444 -> r--r--r-- 100 100 100
356 -> -wxr-xrw- 011 101 110
755 -> rwxr-wr-w 111 101 101
Numerical permissions
| # | Permission | rwx |
|---|---|---|
| 7 | full | 111 |
| 6 | read and write | 110 |
| 5 | read and execute | 101 |
| 4 | read only | 100 |
| 3 | write and execute | 011 |
| 2 | write only | 010 |
| 1 | execute only | 001 |
| 0 | none | 000 |
Labels:
Bash,
binary,
chmod,
code,
debian,
filepermissions,
Linux,
number,
permission,
permissions,
Privileges,
rwxrwxrwx,
Unix
A storytelling cow in the Bash Console using Fortune and Cowsay
you'll need 'cowsay' and 'fortune', both in the debian default repositories:
sudo apt-get install cowsay fortune
#!/usr/bin/bash
while (true); do
text=$(fortune);
cowsay $text;
length=$(echo $text | wc -w);
let length=$(expr $length);
sleep $length;
done;
sample output:
user@machine:~$ sh cowsayloop.sh
sudo apt-get install cowsay fortune
#!/usr/bin/bash
while (true); do
text=$(fortune);
cowsay $text;
length=$(echo $text | wc -w);
let length=$(expr $length);
sleep $length;
done;
sample output:
user@machine:~$ sh cowsayloop.sh
IP address via Curl
simple as that:
user@machine:~$ curl ipcurl.com
Abonnieren
Posts (Atom)

