ALL
Fix --go_out: protoc-gen-go: plugins are not supported
When generating RPC code using proto file template in GoLang, one may face the issue like below when running the command protoc.Error: exit status 1Output: --go_out: protoc-gen-go: plugins are not supported; use 'protoc --go-grpc_out=...' to generate gRPCSee https://grpc.io/docs/languages/go/quickstart/#regenerate-grpc-code for more information.Normally this issue is caused because the version of protoc-gen-go being used is not correct. One way to fix the issue is to follow the instructions provided by Google to run a new command.Another way to fix this is by having the Github version of proto...
17,157 0 PLUGIN GOLANG PROTO BUFFER
Build a Kubectl Plugin from Scratch
by authorThe command-line tool kubectl is indispensable when using Kubernetes. You need it to query related Pod and Service information both in developing or performing some maintenance operations, such as events, scale, rolling update, etc.However, when using kubectl, there are many inconveniences. Though Kubernetes is officially maintaining kubectl¹, and you can submit the problems, improvement, and even PR in its Github Issues, you still have to wait long before its release.The most common solution is Kubectl-Plugin Pattern²Plugins extend kubectl with new sub-commands, allowing fo...
20 cool jQuery countdown scripts and plugins
Have you ever seen the count down component of Apple before its app downloads reached 50 billion times? It's really cool. On a website, we often need to have a count down function, for example, when a e-commerce site initiates some promotions or some organizations want to start an event. In this post, we introduce some cool jQuery countdown scripts and plugins.Circular Countdown jQuery Plugin MORE INFO / DEMOCoconut – Jquery Countdown Plugin - MORE INFO / DEMOIt contains 4 circles with different sizesDynamic Countdown with Counter – MORE INFO /&nb...
Handling Plugins In PHP
A common problem that developers face when building applications is how to allow the application to be "plug-able" at runtime. Meaning, to allow non-core code to modify the way an application is processed at runtime. There are a lot of different ways that this can be done, and lots of examples of it in real life. Over a year ago, I wrote a StackOverflow Answer on this topic. However, I think it deserves another look. So let's look at some patterns and common implementations.Communication HandlersThese patterns are designed to handle communication between disjoint ...
Install flash plugin in Ubuntu
Step 1 : Get the libflashplayer.so file from Adobe offical websiteStep 2 : Extract the libflashplayer.so file to a folder Step 3 : Go tp the folder which sores the libflashplayer.so fileStep 4 : Run the following command in terminal sudo ln -s libflashplayer.so /etc/alternatives/libflashplayer.soStep 5 : Start the Firefox and now can watch flash...
5,405 0 UBUNTU FLASH INSTALL PROCEDURES PLUGIN