chusopr / casimir Goto Github PK
View Code? Open in Web Editor NEWYet Another URL Shortener
Home Page: http://casim.ir/
License: MIT License
Yet Another URL Shortener
Home Page: http://casim.ir/
License: MIT License
@chusopr I'm not using Casimir anymore, and have no time to maintain it. Would you like me to transfer ownership of the repository to you, so that you can maintain it?
API breaks when reCaptcha enabled. returning "Error: Input provided by user is not valid". Perhaps this could be fixed by having an API key config option that allows reCaptcha to be bypassed when using the API.
Hi I'm using wordpress to make a theme for a company, well they want to have a url shortener integration.
My question is if I can work with your url shortener script or Im not allowed. ( I gonna modify style and probably some parts. )
Sorry Im not good with license :P
BTW: Epic job :D
The font used to show the generated shortened link makes it hard to distinguish l
and I
.
Hi:
If someone is using nginx for the shortner, this configuration is gonna help you:
server {
listen 256.15.14.123:80; (IP:PORT)
server_name example.net www.example.net;
root /var/www/example.net;
include php;
access_log /var/www/cdlst.net-access.log;
error_log /var/www/cdlst.net-error.log;
if (!-e $request_filename) { rewrite ^(.+)$ /index.php?q=$1 last; }
}
Hope that helps you :D
Example : http://golook.at/tweetdecksetup/
I'm using Kali Linux (Debian) with Apache 2.2 and MySql 5.5.31. I installed the lastest version of Casimir and have followed your documentation instructions. I can shorten a link, yet when I click on the shortened link, it doesn't bring me to the site.
I have the site enabled with "a2enmod enabled".
[The above picture shows I have a shortened link]
[This above picture shows that I clicked on the link]
[The above picture shows that I have a MySQL entry]
shortened links start with a '?' after the host part. But the links created in the stats do not have these. Therefore the links in the stats do not work.
Since setlocale($category, $locale)
only works if $locale
has country code (xx_XX), an Accept-Language without contry code won't load expected language.
For example, an Accept-Language header like this:
Accept-Language es,de-DE
Will load German when Spanish is expected.
When the webroot is cloned from git, the default .htaccess
file allows access to the .git
and .gitignore
.
what about adding a minimalist page caching system to casimir ?
and it seems cas.im is now a basic parked ads domain ;(
hi
I fixed it in : neofutur@f08d74a
converted all the mysql to mysqli functions.
but couldnt find a way to send a pull request for just that commit.
will remove errors like :
PHP Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in html/inc/Casimir.php
Some people prefer to use tabs to indent code and some others prefer spaces.
For sure, both of them have good reasons to make their choices.
What sucks is mixing spaces and tabs when indenting code mainly because not all the editors use the same spaces-per-tab configuration making it uncomfortable to read code.
Please make a choice! Indent with tabs xor spaces!
Deprecated: Function ereg() is deprecated in /inc/Casimir.php on line 31 sur gw.gd
= not php 5.3 friendly ;(
I ll try to fix it in my fork
There is support for CSS personalization (1, 2), but when trying to use it, a 403 will be returned for the user CSS because of the .htaccess file.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.