I hereby claim:
- I am itsakt on github.
- I am akt (https://keybase.io/akt) on keybase.
- I have a public key ASAMX2YaPBHD4GrcFS0UFxUTsAyy1l3aCBEHh_varQvpdAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
package com.akt.awesomeplugin; | |
import com.intellij.openapi.project.Project; | |
import com.intellij.openapi.wm.ToolWindow; | |
import com.intellij.openapi.wm.ToolWindowFactory; | |
import com.intellij.ui.content.Content; | |
import com.intellij.ui.content.ContentFactory; | |
import org.jetbrains.annotations.NotNull; | |
import javax.swing.*; |
package com.akt.awesomeplugin; | |
import com.intellij.openapi.components.PersistentStateComponent; | |
import com.intellij.openapi.components.ServiceManager; | |
import com.intellij.openapi.components.State; | |
import com.intellij.openapi.components.Storage; | |
import com.intellij.openapi.project.Project; | |
import com.intellij.util.xmlb.XmlSerializerUtil; | |
import org.jetbrains.annotations.Nullable; |
public class ToolWindowHandler implements ToolWindowFactory { | |
private JPanel toolWindowContent; | |
private JTextField txtName; | |
private JButton btnGo; | |
private JLabel lblHello; | |
@Override | |
public void createToolWindowContent(@NotNull Project project, @NotNull ToolWindow toolWindow) { | |
ContentFactory contentFactory = ContentFactory.SERVICE.getInstance(); | |
Content content = contentFactory.createContent(toolWindowContent, "", false); |
package com.akt.awesomeplugin; | |
import com.intellij.openapi.project.Project; | |
import com.intellij.openapi.wm.ToolWindow; | |
import com.intellij.openapi.wm.ToolWindowFactory; | |
import com.intellij.ui.content.Content; | |
import com.intellij.ui.content.ContentFactory; | |
import org.jetbrains.annotations.NotNull; | |
import javax.swing.*; |
# /etc/init/fixbrightness.conf | |
# replace BRIGHTNESS_VALUE and X eg. 0 & 0 | |
description "Sets brightness after graphics device is loaded" | |
start on graphics-device-added | |
task | |
exec /bin/echo BRIGHTNESS_VALUE > /sys/class/backlight/acpi_videoX/brightness |
body { | |
animation: fadein 1s; | |
} | |
@keyframes fadein { | |
from { | |
opacity: 0; | |
} | |
to { | |
opacity: 1; | |
} |
$(document).on('shown.bs.tooltip', function (e) { | |
setTimeout(function () { | |
$(e.target).tooltip('hide'); | |
}, 2000); | |
}); |
$('.nav-tabs a:[href="#tab-page-1"]').tab('show'); |